11-29-2005 03:41 PM
11-29-2005 03:51 PM
One thing you did wrong is change the format of the write strings. In order to actually send a '\' code like \r, you right click on the string and select '\' Code Display. In the example I posted, I had all of the string constants with this set. You created new constants and didn't do this so you're not sending the control code. All you're sending is the separate characters "\" and "r" and that won't work. Also, do not use \R (capital R). You have to use \r (little r).
Fix this and then do what I asked a little while ago. Create a string indicator on the output of the VISA Read, run the VI, make current values default, save the VI, then re-post it. I'd like to see if you're parsing the response from the meter correctly.
11-30-2005 12:08 PM
ok, i did them changes, if you run this VI , you can see well, you wont see anything unless you got a hameg dmm!, but all that happens is that it sends the voltage to the graph and goes back to zero after every cycle, so its not much use.
how can i correct this? also i still havent got the right decimal place values onto the graph.
regards
eric
11-30-2005 12:21 PM
I don't see any reason for the chart to back to zero after every cycle. It has a history of 1024 points so it should keep updating.
Somehow, the Scan From String got set to output an integer. I fixed that by just disconnecting and reconnecting the wire. Here's a VI with that modification and the other one that I've been asking for. Run this for a minute or two and then stop it. From the Options menu, select Make Current Values Default. Save the VI and repost it. Then I actually will be able to see what the DMM is returning without having the meter here.
11-30-2005 01:11 PM
i just executed that one you did but errors came out, here is the vi i saved if its any good.errors come out of the sequence part.
11-30-2005 01:36 PM
12-01-2005 11:52 AM
your vi worked alright, i must have done something wrong, but it was the same story. voltage kept jumping. oddly, when you run it in debug mode it doesnt jump at all.
here is your vi with current values saved. any idea why its not stable?
eric
12-01-2005 12:07 PM
12-01-2005 12:11 PM
ok, let me see if i can implement what you just said!
thanks
12-01-2005 12:14 PM
do i put a wait (ms) block before the write function, ? where do i connect it to?!