I am just getting involved with using LabVIEW to connect serially to the device I am working on. I think I am running into a problem reading from my device. I am trying to initalize my PC into the device's internal network. What I need to do first is send a Discovery message to obtain the current network configuration. I am running into a problem when I read the buffer after I send that message. The data I am reading is in the correct message format for my device but they are all internal messages, such as the internal devices talking to themselves and none answering my request.
Here is the error that "VISA Read" is giving me.
Error: -
1073807298 VISA: (HEX 0xBFFF003E) Could not perform operation because of I/O error.
I tried inserting a VISA Set I/O Buffer Size block after I configured the port and set the mask to 48, and left the buffer size at 4k. When I did that I seemed to get the same kind of data but then I would get a framed data error, or something of that sort, I don't have the exact error code and description. I can get that if that would be helpful.
I am using LabVIEW 7.0 and VISA 3.2
My COM1 port is set up correctly within MAX.
Attached is a NI-SPY Capture. (It wouldn't let me attach a .spy file so I added a .txt, just remove the .txt and the file should be a valid .spy file, that's annoying)
Any insight you can provide would be appreciated.
Thank to all who view and reply, this forum is great, and has helped me around some tough spots.
LV 8.2.1
WinXP