LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Real time DAQ

I want a program in LabVIEW to generate a graph between output frequency from frequency counter in real time for different input

0 Kudos
Message 1 of 5
(1,606 Views)

Too little information, please provide more details, what hardware are you using? what does RealTime mean to you, do you want to use Real-Time OS?

 

Sure, you can graph data in LabVIEW but where does this data come from?

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution.

Finding it hard to source NI hardware? Try NI Trading Post
0 Kudos
Message 2 of 5
(1,583 Views)

@Sib1997 wrote:

I want a program in LabVIEW ...


Please clarify.  Are you saying "I want to learn how to ... in LabVIEW" or are you saying "I'm willing to hire someone to write LabVIEW code to do ..."?  If the first, then you need to actually try to do it, attach the LabVIEW code (not a screen-shot, but actuial VIs) and explain clearly what you want to do, and (if using hardware) what hardware you are using.  If you are looking to hire, this is probably the wrong Forum.

 

Bob Schor 

0 Kudos
Message 3 of 5
(1,573 Views)

Yes sir i want to learn, i am trying to see the digital output varying with respect to time.i am using a 53132A aligent, frequency counter As the device and connected to labview through USB/GPIB interfase, keysight 82357B.

i have attached the program file i tried. i am not getting the required value that i should get but getting a different value.

 

can you suggest any change in the program or if i am doing something wrong , it will be helpful

Download All
0 Kudos
Message 4 of 5
(1,510 Views)

Some quick suggestions about Test:

  • Congratulations on the (more-or-less) correct use of the Error Line to serialize the operations you are performing.  As a suggestion, it helps to "visualize" the flow of your code if you keep the Error line running as straight and horizontal as possible (that's my LabVIEW "Style", anyway).
  • Do you mean to open your GPIB device, initialize it, take one reading, and then re-open it, initialize it, take another reading, repeating until you press the Stop button where you might (or might not!) close the communication path?  Think about what operation(s) you do once, and what operations you do multiple times.  Put only the "multiples" inside your loop, and put the "Do Once" operations before the loop if they come first, and after the loop if they come last.  Use the Error Line, of course.
  • I don't understand why you have two time delays, or even one time delay!
  • Beginners should (almost never) use a Sequence Structure.  The Time Delay Express VI (whose purpose I don't understand) can also go on the Error Line to put the Delay "where you want it".

Note that the above comments can all be called "stylistic comments".  I've read "The LabVIEW Style Book" by Peter Blume cover-to-cover several times, and it has had a big influence on me ...

 

Bob Schor   

0 Kudos
Message 5 of 5
(1,501 Views)