01-22-2016 11:51 AM
Hi All,
I am trying to use labview to comunicate throught USB to a product we manufacture. I can communicate with the device using a terminal program. However, when I attempt to do the same with LABView, I get an error even though I have it configured the same as the terminal settings. The error is as follows:
Error -1073807330 occurred at Property Node (arg 2) in VISA Configure Serial Port (Instr).vi->Untitled 1
Possible reason(s):
VISA: (Hex 0xBFFF001E) The specified state of the attribute is not valid, or is not supported as defined by the resource.
Any help would be greatly appreciated. Thank you all.
01-22-2016 11:55 AM
Well so it sounds like you're not configuring it correctly... Can you share your LV code as well as a screenshot of your terminal configuration?
Cheers
--------, Unofficial Forum Rules and Guidelines ,--------
'--- >The shortest distance between two nodes is a straight wire> ---'
01-22-2016 12:04 PM
Ok. They are now attached. Thank you for your prompt response.
01-22-2016 12:35 PM
That baud rate is really high, so high that maybe LV VISA doesn't like it. Are you able to change the baud rate on the device to a lower value? 9600 is the default.
Cheers
--------, Unofficial Forum Rules and Guidelines ,--------
'--- >The shortest distance between two nodes is a straight wire> ---'
01-22-2016 12:41 PM
115200 is a standard baud rate. I would not expect to be an issue.
Could you attach your actual VI? I suspect a wiring issue.
01-22-2016 12:42 PM
01-22-2016 01:03 PM
Problem resolved. I am at a loss to explain this one. I closed and did not save the VI I had started. Reopened a new one and started over. That new VI functions as expected. Could have been a wiring error as was suggested. Frustration led to scrapping the whole thing before a thorough investigation could be done. Thanks everyone for your help
01-22-2016 01:04 PM - edited 01-22-2016 01:04 PM
And if it's not wiring issues, double check you have the COM port selected correctly and you don't have terminal trying to communicate at the same time.
ben's suggestion to use MAX is also a good idea because that's a good intermediate trial between your terminal and LV.
Edit: glad you figured it out.
Cheers
--------, Unofficial Forum Rules and Guidelines ,--------
'--- >The shortest distance between two nodes is a straight wire> ---'
01-22-2016 02:36 PM
Stupid question: can you check you have connected 115200 to baud rate, not to data bits terminal.