LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Need help im stuck right now

Ramp function didn't work for me.

0 Kudos
Message 11 of 21
(1,326 Views)

@botenb wrote:

Ramp function didn't work for me.


Smiley IndifferentSmiley Frustrated  Yeah, it can be fickle that way... 

LabVIEW Pro Dev & Measurement Studio Pro (VS Pro) 2019
0 Kudos
Message 12 of 21
(1,308 Views)

Hi botenb,

 

Have you tried using a case structure and shift register to do this? You could use one case for increment, one for decrement and one for hold.

 

Regards,

Allison M.
Applications Engineer
National Instruments
ni.com/support
0 Kudos
Message 13 of 21
(1,276 Views)

Im going to try that once I fix one of my other problems.

0 Kudos
Message 14 of 21
(1,254 Views)

Why wont this stop when "Numeric" is greater then "Set Point 1"?

0 Kudos
Message 15 of 21
(1,231 Views)

Can you be sure your upper inner loop will end?  Comparing two doubles for being equal is generally a bad idea.  They will have to be EXACTLY the same.

 

Your lower inner loop is completely wrong.   It can never end since its stop terminal is wired from the outside.

 

I honestly can't figure out what you're even attempting to accomplish here. I suggest some LabVIEW basics to study up on the dataflow programming paradigm...

LabVIEW Pro Dev & Measurement Studio Pro (VS Pro) 2019
0 Kudos
Message 16 of 21
(1,222 Views)

Can labview read two input signals at the same time?

 

0 Kudos
Message 17 of 21
(1,196 Views)

LabVIEW can.  Whether or not your DAQ hardware can depends on the model.  Most Multi-Function DACs have many inputs but are multiplexed.  If you want to read multiple signals at exactly the same time (no phase offset) then you need a more expensive simultaneous sampler card.

LabVIEW Pro Dev & Measurement Studio Pro (VS Pro) 2019
0 Kudos
Message 18 of 21
(1,176 Views)

I looked through the specification sheet that I found but it doesn't say IM using NI 6052E Multifunction I/O.

0 Kudos
Message 19 of 21
(1,165 Views)

@botenb wrote:

I looked through the specification sheet that I found but it doesn't say IM using NI 6052E Multifunction I/O.


Of course the specifications say!  How could they not???  It's a 16 channel (or 8 differential pairs) model.  That means you can collect upto 16 single-ended signals in a single scan.  There will be a slight time delay between each channel because they're all sharing one ADC and each channel gets multiplexed into it.  That is fine for most applications and is the most common DAQ type from NI.

 

Keep in mind that since you're sharing the one ADC your maximum sample rate will be divided by the number of channels scanned when you multiplex more than one channel. 

Aggregate sample rate = maximum sample rate / number of channels

LabVIEW Pro Dev & Measurement Studio Pro (VS Pro) 2019
0 Kudos
Message 20 of 21
(1,155 Views)