Jump to content

ann

Members
  • Posts

    6
  • Joined

  • Last visited

    Never

ann's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. ann

    1073676294 Error

    Download File:post-5239-1155231947.viDownload File:post-5239-1155231964.viI have built a small code to communicate with an external device (smartline pumps) and i have attached the code below, when i run the program it works fine and gives the right output , i.e the data read form the instrument is correct, however when i highlight and run the program i realise that at the "VISA read" port i get this error: Warning:1073676294 occured at VISA read Possible reasons: VISA:(Hex 0xFFF0006). The number of bytes transfered is equal to the requested input count.More data might be available. when i incorporate this code in a larger program, it fails to run, so I was wondering if anyone can give me an insight as to how to solve this problem. example of the program is: write data : SN read data : SERIAL = 87075
  2. Hey Neviile, i did try what u suggetsed and the funny thing is the valves change postion twice (i.e 2 cycles) and then the alarm goes off and i did try Karlos's idea too, but i gss i incorporated it in the wrong way and it din work, anyways gss I will have to ask someone to see my code with the device attached and debug it. Thanks guys for ur thoughts.
  3. Hey I have been working on a interface to make some valves work.I have hooked up the hardware to the RS485,and com4 port of the com and I have created a code to make the valves work , however when i try checking if the valves r in the right postion (a part of the main code), it dosen work. its like this (i am explaining ti a bit since i gss u need to know abt how the hardware works inorder to help me). to send a valve to a postion: the code to send to teh device is /L GO 5 (i.e u r sending valve with id L to position 5) similarly to obatin the current positon of the valeve u have to send to the device /L CP (i.e what is the current position of valve with id L). the output of this is L Position = 5. (I have attached the code that i have written to check the valve postion, bt somehow when i run the program it dosen work, however when i highlight in the block diagram page to see the program flow, then the program works) can anyone suggest why is it so, and has anyone come across a problem where the program as such dosen work, but when u highlight it it works, and since it works when highlighted i can't even detect where the problem is, to debug it. Download File:post-5239-1150847687.zip Download File:post-5239-1150847670.zip
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.