10-04-2006 05:53 PM
10-05-2006 08:41 AM
What version of LabView and NI-VISA do you have loaded?
Does the device show up as a COM port in MAX under "Devices & Interfaces"? If it shows up in MAX and communicates with a terminal program, NI should have no problem talking to your device. What kind of errors is your vi generating?
10-05-2006 10:10 AM
10-05-2006 04:11 PM
I have LabView 8.2 the newest version and Visa installed. I can see the Com5 on Measurement and Display and when I go to the Visa Test Panel, I can read the initial start up message from the device when it is first powered up.
It give the following when I do a read.
Copyright\xa9 2001-2006 by Intelligent Motion Systems, Inc.\r\n
I think my problem lies in the communication setting on this device. I am not very familiar with all the settings and I just know what I need to set for the Baud Rate (9600), Data Bits(8), Parity (None), Stop Bits (1), Flow Control (none). Maybe you can help me with the other setting on the Visa Test Panel that I might need to get it to read what I send it.
I tried to send it a request to send back the device name (pr dn) and when I did a read, it read back the same thing (pr dn). Maybe that will help you see what I am doing wrond.
I also tried as suggested to communicate to the device with Windows Hyperterminal and that was succesful!
I think I am close to getting this working, just need a little help. Thanks in advance for any information you can give me!
10-05-2006 04:26 PM
Hi again,
I tried to communicate to it with the Basic Serial Read and Write.vi and this is the error message that it returns
Error -1073807246 occurred at Property Node (arg 1) in
Possible reason(s):
VISA: (Hex 0xBFFF0072) The resource is valid, but VISA cannot currently access it.
Maybe you can see from this what is not getting set right.
Thanks
10-05-2006 05:02 PM
That error sounds like another program is running and has not closed the port. Did you exit Hyperterminal and their communications software before running MAX or your LabVIEW code?
If it worked in Hyperterminal, then I suspect if you use \r\n as a termination character in the read portion it may work in the LabVIEW serial read/write vi.
10-06-2006 08:26 AM
10-20-2006 11:35 PM
10-21-2006 04:59 AM
10-23-2006 01:55 PM
1073807298 | Could not perform operation because of I/O error. |