From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
08-13-2019 04:11 AM
Dear coders,
I'm currently in front of a Visa communication problem that I cannot solve alone.
I'm sending commands through a USB port to an external device.
I have to problems:
1- The minimum speed between two string to send is around 90ms. Bellow this limit, the Visa Write vi displays an error.
2- If I want to call the Open/Close vis outside of the loop as it should be done, the Visa Write vi displays an error.
Could you help me please?
I give you two examples:
1- Example1 where everything is working except the fact that I cannot reduce the time between two string sent
2- Example2 where the Open/Close vis placed outside of the loop are not working
THANKS
08-13-2019 04:46 AM
08-13-2019 05:00 AM
Hi,
Someone contact me by message in the meantime.
One error in my code was the \r\n at the end of all strings. If I just put only \r, the system is now responding much faster.
Now, the error only comes from the delay between two strings. If this delay is smaller than 40ms, the Visa write vi crashes with this error
The error returned is "-1073807360" "VISA Write dans AOTF_Example2.vi" 😞
08-13-2019 05:58 AM
@MAILFERTSeb wrote:
Now, the error only comes from the delay between two strings. If this delay is smaller than 40ms, the Visa write vi crashes with this error
The error returned is "-1073807360" "VISA Write dans AOTF_Example2.vi" 😞
Unknown System Error. You might just be limited by the hardware (USB hub and/or your instrument).