LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Interfacing in labVIEW

I am having a power meter and a current source. I have to plot a graph of power versus current using labview. Can somebody please help me regarding this? Labview is very new to me, I am not much aware of labview interfacing.

0 Kudos
Message 1 of 11
(3,137 Views)

I would recommend you learn more about LabVIEW from here. How to Learn LV

0 Kudos
Message 2 of 11
(3,116 Views)

Hi pragya,

 

I have to plot a graph of power versus current using labview.

Simple example:

check.png

When you need more/better examples you only have to start the example finder in LabVIEW's help menu!

 

Labview is very new to me, I am not much aware of labview interfacing.

You're lucky: in the header of this LabVIEW board you will find a lot of resource to help you to learn LabVIEW!

(One suggestion: use only one, but the right spelling of LabVIEW… :D)

Best regards,
GerdW


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

Dear Mr.  , 

Thanks for your reply. But I need to know about the interfacing part. The arrays of current and power value each, can not be entered by me. Actually I want to know how should get those values from power meter and current source to my program. I have BNC-2110 connector box by NI for this purpose. Please help!

And yes, thanks for the suggestion as well 🙂

0 Kudos
Message 4 of 11
(3,097 Views)

Thanks for the reply 🙂

It will be helpful to me.

0 Kudos
Message 5 of 11
(3,093 Views)

Hi pragya,

 

Actually I want to know…

Then you should actually ask that! 😄

 

how should get those values from power meter and current source to my program.

Then read the manuals of those external devices to learn about the possibilities/ways to connect them with your computer!

Which devices do you use? Are there device drivers available in the IDNet?

 

I have BNC-2110 connector box by NI for this purpose.

This is just a connector box. Do you have any DAQ hardware being able to read analog signals? Do your devices even output analog signals?

Best regards,
GerdW


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

Here are the snapshots of the program which I want to modify. I am not able to take a complete picture so I have taken it into 3 parts. I am sure you will get is easily. I think now you I will have some solution. 

By the way as I wrote in the first message, I need to have a graph of power versus current. But I am getting graph between power and time, though I am using xy graph only (not waveform graph). I am not getting where the mistake is in the program.

 

Are these snapshots even helpful??

 

Admin note - removed attachments per user's request

0 Kudos
Message 7 of 11
(3,068 Views)

You started out this thread asking about how to interface with a current meter and a power source.  But your latest e-mail shows you are already getting data via a piece of NI-DAQ hardware.

 

Instead of attaching pictures, attach the actual VI.  It is hard to see what is going on when the VI is broken up among multiple pictures with lots of bent and backwards wires.  Use the Block Diagram Cleanup tool.

 

Also, Index Array is resizable.  Drag the bottom border down.  Now you'll get two columns (element 0, element 1) automatically without even having to wire up constants to the index.  Much better than using two Index Array functions.

0 Kudos
Message 8 of 11
(3,065 Views)

Hi pragya,

 

Are these snapshots even helpful??

What if your car is broken? Would you bring just some photos of the car to your car repair shop? Or would you bring your car?

Please attach your VI! (And use AutoCleanup before posting…)

 

Minor glitch: Why do you calc "mx+b" using this subVI? The interpolation function already provides an output for those values…

Best regards,
GerdW


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

I really do not know much about this programming. One of my colleagues was working on it and he had to leave in middle of this. Now I have to take it forward. I am finding it very difficult. 

 

Admin note - removed attachment per user's request

0 Kudos
Message 10 of 11
(3,054 Views)