Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Level Measurement in FPGA

Hello Sir... i am just entering to Labview FPGA.... basically moderate in labview too... i devoloped a Level measurement VI in Project Explorer Methode, i am using PCI7830R DAQ card in my PC and a Connector Block SCB68.... in my VI i gave a limit ..ie... an LED to blink when it goes beyond the limit and other LED to blink when it goes down the limit....i interconnect a wire between AO0 and AI0 in SCB68 and place a LED's in a bread board by giving wiring connection from SCB68 respectively to DAQ card 7830R....

 

my problem is when i adjust AO0 knob in the main host the AI0 reading was changing scatterly ... means( showing exact reading location of Knob AO0 and i gave some calculation to display AI0 in graph on the main host VI ,, showing that too in AI0 (scateered both reading) ) so that LED in hard ware also getiing scattered.... how could i avoid this??

Download All
0 Kudos
Message 1 of 5
(3,187 Views)

you are using I16 data from AI and AO yet you are using a value of 5.  i assume you mean 5 volts and not 5 counts. (5 counts is very small voltage)

either use the fxp representation or convert to counts +-32767 = +-10V

Stu
0 Kudos
Message 2 of 5
(3,182 Views)

Hello Sir.... Actually 5 value which i was given in VI is not volts....its like a limit value.... my exact need is LED should not scttered when it goes below 1 and also DIO0 Led stared to blink(on& off) when i move the AO0 knob to one or abve 1 value..... this should not be happen....

 

when i run the Host VI alone its given exactly what i need.... but when i run along with sub VI.... in ths Sub VI the LED got scattered ....this happen because the LED in sub VI just taking the value of my AO0 Knob adjustment in host....but i not want this... i need the LED in sub VI also want to show the output corresponding to AI0(y) in main host..... so in order to get what i have to do???

Download All
0 Kudos
Message 3 of 5
(3,168 Views)

Hai... hope somebody clear my doubt.... i am using PCI7830R DAQ in my PC... and Connecter block SCB 68 hardware.... i devolped a VI in Project Explorer Methode...to check the digital pins in DAQ and hardware....while i running a VI without connecting LED in hard ware section, all LED in ON condition in frontpanels of both sub and Host VI ....but after i wired a bread board with SCB68 and placed LED in breadboard (to check 7830R card and  SCB68 mapping) respectively to the pin numbers of DAQ( eg: DIO0 pin number in DAQ and SCB68 is36 &  2...i take a wire from 36 pin from SCB68 as positive and 2nd pin as negative , connect it to bread board where i placed LED...)....the prob is just for testing i wired only one LED and  run VI after this settings...the particular LED is not blinking in both hardware and Front panel of VI .....why this prob? whether i have to placed any resistor in bread board?

Download All
0 Kudos
Message 4 of 5
(3,165 Views)

Alieas,

 

Hello! In the future, Please do not post the same question in multiple locations.

 

Duplicate Post

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Ben Sisney
FlexRIO V&V Engineer
National Instruments
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
0 Kudos
Message 5 of 5
(3,157 Views)