02-04-2015 01:52 PM
Hi,I need to use Labview to control National Control Device (NCD) ProXR relays via USB ComPort. NCD doesn't support the instrument driver now. Did anyone ever successfully control the 8 relays ? Can you share your VI source code? Thank you for your kind help.
02-05-2015 08:22 AM
Hi,
Unfortunately National Instruments does not have any driveres on our website for your device. You should be able to communicate with your device by using VISA read and write commands. There are several examples already in LabVIEW to demonstrate VISA communication. I would encourage you to look through the examples provided by LabVIEW and try to establish communication with your device in that manner.
02-05-2015 09:35 AM
Hi NI helper,
I already did try with VISA before I posted the question. The NCD device has no response to the input commands. I wonder if it requires CRC follows the command or special driver. Hope someone who has the successful example to show me. Thanks.
02-05-2015 10:02 AM
02-05-2015 02:56 PM
I use PuTTY, set with right ComPort and use Serial communication. The screen is blank, can't take any input.
I try with MAX, set with ComPort, after open panel it accept Write with no error but still no reaction on NCD relay. I click Query with input command, it says "Time Out".
The Labview diagram is simple, I just use VISA to accept input after setting baud rate etc. It just doesn't react.
According to the vendor's manual, the shortest command (without API) is a string like "254 108 1" in which 254 is lead 108 is relay and 1 is Bank. If API is used the command will be like "170 3 254 108 1 24"
I wonder how can Labview accept this kind string.
02-05-2015 03:04 PM