we made a simple program that only reads the voltage and we are still getting the same error as our larger program,
if anyone can help that would be great.
Simple programs that show the same behavior are great because they should be easier to debug.
Can you post the simplified program?
we are using windows xp and also here is our simple program! sorry i thought i posted it. it works for a while but then times out so we're assuming it's because it's the buffer ? but we're not sure how to clear the buffer.
as well, our hot plate program simply times out and gives 0 at random intervals, buffer problem as well?
Unfortunately, WindowsXP 64bit is not currently supported by LabVIEW (any version). A chart with all the Windows/LabVIEW compatibilities can be found here: http://digital.ni.com/public.nsf/allkb/B972242574D4BB99862575A7007520CB?OpenDocument. Do you have any other operating systems accessible to run this application on?
Sorry that previous link was broken, try this: http://digital.ni.com/public.nsf/allkb/B972242574D4BB99862575A7007520CB (Search ni.com/support for Windows Version Compatibility with LabVIEW). Referencing the chart, LabVIEW 7.0 should work just fine on Windows 98 and ME. Please give an update on how the applications works when you re-test it.
I'm taking a bit of a shot in the dark here but the Command Handbook for the 263A says that you can get an error if the READE or READI command is sent while a curve is in process.
This error would not be reported over VISA, you'd have to query for it using the ERR command.
It's probably good practice for this instrument to do an ERR query immediately after any critical read operation.
For the potentiostat, i used longer delays and it seems to stop mixing data, so I hope this works.
For the hotplate program, it tends to time out after the 6 byte visa read of case structure 2, how could i prevent this?