LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Desperate Help needed in using LabVIEW

Hi,
 
I'm a beginner in using LabView programming. Can anybody help with implementing Labview 6 and Keithley 2400 SourceMeter for data aquisition? I've wired up the hardware and have problem coming up with the software.. Any idea how to get started?
0 Kudos
Message 1 of 7
(3,494 Views)
May be your first move should be to read the rather abundant litterature (83 entries) on this topic. Search for "Keythley 2400" using the Advanced Search. Don't forget to select the "anytime" option. Then you should explain with more detail what your problem is....
Chilly Charly    (aka CC)
0 Kudos
Message 2 of 7
(3,481 Views)
Hello giam,

I'm using the K2400 for quite long now and it is easy to program...
You surely have the documentation. There you will find all commands to control the sourcemeter. Just send the command to the meter and get the answer. I'm using (old style) GPIB commands for this, but VISA will also do.

Other option: check the instrument driver library at the NI webpage! (Developer Zone -> Instrument Driver Network).


Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 3 of 7
(3,482 Views)

HI GerdW,

Thanks for your prompt reply.

I'm learning to use LV6 and I'm trying to modify your block diagram as I need only to read numerical data direct from the K2400 (eg V and I) and save it. I was wondering what icon/function represents the "send mult", "receive message" in green in your diagram? Is it the same as GPIB write/read ? Can i use GPIB write/read vi instead? And if i can, how do i send the various commands (READ? FORM etc in array as depicted in your diagram) to K2400 to GPIB write,as it is not possible to connect a string array to data.

 

Regards

giam

0 Kudos
Message 4 of 7
(3,441 Views)
Good day Chilli Charly,
 
Thanks for your advice.. I've been scouring through the threads these few days and gathering info on how to get started using LV6.. i'm starting from sratch.. Anyway.. i'm trying to do a software to simply retrieve measurements (eg V and I) from K2400 directly..
 
Regards
ed
0 Kudos
Message 5 of 7
(3,438 Views)
Hello giam,

I made wrapper vi's for the standard GPIB Read/Write functions to handle errors (using green icons to distinguish them better). The "send mult" handles simple strings (like standard GPIB Write) and array of strings (you often need to send more than one string to a device). But generally those icons have the same main functionality like standard GPIB...

To send an array of strings you put the GPIB Write into a for loop and connect the array as input with autoindexing enabled (as standard). Maybe a small delay will help for some devices, the K2400 should do without.

Edited: The greenish delay icon is just a standard "Wait ms" with additional error cluster in/out to allow dataflow programming...

Message Edited by GerdW on 12-20-2005 09:25 AM

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 6 of 7
(3,424 Views)
Hi GerdW,
 
I've come up with a simple software of my own.. but it doesnt run.. there's error on the K2400, it says "query interrupted" when attemptin to measure V. I've attached my novice produce..i'l appreciate if you can take time to advice me, hopefully its not any major mistake.
 
 
 
Regards
ed
0 Kudos
Message 7 of 7
(3,420 Views)