LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

USB-485 & LabView

Solved!
Go to solution

I would like advice as to whether following design sounds doable and feasible.

I plan to use two National devices, USB-485 and USB-6003 with LabView, The USB-6003 will collect local analog data while the USB-485 will be used to collect distant analog data. The National USB-485 will communicate with custom-made, a non-National RS485 device. The National USB-485 will collect blocks of data (~100k bytes)  for display within LabView  (along with the USB3003 data).

 

Three (3) quick questions:

1.) Does this design sound doable and feasible.

2.) Does LabView provide drivers and a DAQ Assistant for the USB-485

3.) Any potential pitfalls or connectivity problems?

0 Kudos
Message 1 of 5
(2,392 Views)
Solution
Accepted by Chris95370

Hi Chris,

 

1.) Does this design sound doable and feasible.

Well, yes.

 

2.) Does LabView provide drivers

Yes.

and a DAQ Assistant for the USB-485

No.

It's a serial port, so you should use VISA functions.

 

3.) Any potential pitfalls or connectivity problems?

Use smaller data blocks than 100kB! Read the forum on topics about (non) usage of "Bytes at port"…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 2 of 5
(2,374 Views)

Awesome’ Thanks. Good answer!

Chris. 

0 Kudos
Message 3 of 5
(2,353 Views)

@Chris95370 wrote:

I would like advice as to whether following design sounds doable and feasible.

I plan to use two National devices, USB-485 and USB-6003 with LabView, The USB-6003 will collect local analog data while the USB-485 will be used to collect distant analog data. The National USB-485 will communicate with custom-made, a non-National RS485 device. The National USB-485 will collect blocks of data (~100k bytes)  ...

 

3.) Any potential pitfalls or connectivity problems?


RS-485 is a transmission line

 

Long runs at high transfer rates demand you adhere to the specs of RS-485 including max cable length, shielding, impedance of the cable, and termination of the lines at both ends.

 

Failure to do so could result in something that works fine on the bench but is dodgy when used in the final solution.

 

There are RS-485 extenders/repeaters available from Black Box and the like.

 

Have fun!

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 4 of 5
(2,350 Views)

Thanks for your advice. 

I’ll watch lengths and potential noise problems on the 485 lines. 

Chris. 

0 Kudos
Message 5 of 5
(2,335 Views)