10-13-2016 08:39 AM - edited 10-13-2016 08:42 AM
Sorry for the double post: the version above is the original one, without any timeout event. But I did try and it doesnt work. here is what I tried:
edit: the manual of the pump: http://www.isco.com/manuals/UP001DIS.pdf
the section 7 covers our topic.
10-13-2016 08:49 AM - edited 10-13-2016 08:54 AM
You still have not done what we instructed which was to wire a value to the timeout terminal.
I'm showing a value of 500 which mean 500 milliseconds or half a second. You'll have to experiment to find out what value works best for you.
EDIT:
Okay. That message was based on the last post you had sent, prior to sending a new post.
In you newly attached VI, you wired up the timeout structure, but you used a shift register and made it -1 after the first iteration of the while loop. That disables the timeout event.
So try going back to the original VI and do what I have show in the attached picture.
I suggest turning on highlight exeucution and watch how the data flows so you can understand how LabVIEW works. Perhaps go back and take the tutorials.
10-13-2016 09:48 AM
It seems that it does work ! Thank you very much !!
Flo
10-17-2016 04:25 AM
Hi there,
So my solution is working quite fine, but sometimes I have to close and re-open the VI several times before the first commands are being sent ("VOLA" for example will send back an error, whereas after few try it will gives me the right volume that my syringe pump holds).
Any idea why ?
PS: the visa concerned by this question is the one on the left.
Flo
10-17-2016 08:45 AM
What error are you getting?
Do you need to send a termination character with those commands? The code on the right has a carriage return as the termination character. Do you need it for the device you are communicating with on the left?
10-19-2016 03:52 AM
So , I get an error from the WRITE function(-107....) and it has been fixed by adding the famous I/O flush buffer right before the call of the functions.