09-19-2022 10:33 AM
Good day,
I got error code -1073807339. The labview programs seems to be able to send data inside the whileloop, but an error occurs while writing the data. Furthermore when I restart the VI sometimes the data wont make it inside the whileloop. See second picture.
I use an omron E5DC temperature controller. I simply want to regulate the temperature via the computer.
NI Visa interactive controls says:
Error opening resource:
ASRL5::INSTR
VISA: (Hex 0xBFFF0072) The resource is valid, but VISA cannot currently access it.
By the way, selecting COM 5 as source gives the same result.
Help is very welcome,
greetings Jonas
but sometimes:
09-19-2022 04:13 PM
09-20-2022 10:14 AM - edited 09-20-2022 10:35 AM
Hey Gregory, thanks for the fast reaction:). LabView is the only program using the usb device, I am closing the while loop and I only saw in the device manager that the 'usb device is working correctly', but that doesnt say much. Other programs seemed at least as advanced as LabView to test the set up?
I updated the modbus package and the error changed to a less vague one but Im still not sure what's wrong.
Error 56 occurred at RTU Data Unit.lvclass:Read ADU Packet.vi:5030001
Possible reason(s):
LabVIEW: (Hex 0x38) The network operation exceeded the user-specified or system time limit.
Greetings
09-20-2022 12:04 PM
It looks like you aren't talking to the device yet. What are you using for the VISA Resource and Unit ID?
09-21-2022 05:59 AM
Thanks for replying again. The ID of the omron temperature controller U-No is also set to 1.
If I disconnect the usb port, ''com4'' disappears correctly as well. Is there something else I can check?
09-21-2022 09:12 AM - edited 09-21-2022 09:59 AM
Hmm Now I see that the 'adress' and the 'register to write' in the Write subVI are set to 0 (see picture). Maybe these should be filled in with something else, but I didnt figure out yet with what since the documentation https://assets.omron.eu/downloads/manual/en/v1/h175_e5_c_communications_manual_en.pdf . Doesnt mention it clearly. Not sure if this causes the error.
09-21-2022 11:32 AM
09-21-2022 01:32 PM - edited 09-21-2022 01:32 PM
I will try it thanks. This is the code which is still containing the whileloop. I did not delete it yet since I can't use the omron device until tomorrow anyway.
09-21-2022 03:54 PM
09-22-2022 02:30 AM
Yes I have used the 'modbus library' package. The modbus master class seems to give the same errors.