LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Where should i put my input signals?

Please don't post bitmap images!Smiley Mad

Just because you renamed the file extension to a .png doesn't magically make it a .png file.  It is still a .bmp at heart and eats up way too much forum space (over 1.2 MB, a real .png would be 26 KB, about 1/50th the size and download time)



Message Edited by Ravens Fan on 06-29-2008 10:50 PM
0 Kudos
Message 11 of 19
(1,229 Views)

What you have thus far is reading the calibration constants.  You may want to also look at the examples for the 9233, they should be a big help.

C:\Program Files\National Instruments\LabVIEW 8.5\examples\CompactRIO\Module Specific\NI 923x

 

Preston Johnson
Solutions Manager, Industrial IoT: Condition Monitoring and Predictive Analytics
cbt
512 431 2371
preston.johnson@cbtechinc
0 Kudos
Message 12 of 19
(1,225 Views)
Hi
Thank you so much .. i  started working with that example what you recommended. so what should i need to use for my input that is voltage ? Actually , i have gone through most of the example program for 9233 .but i still don't know how to insert my input . What function should i use for my input signals .. ? (for the fpga part , i m modifying the example program which is NI-9233 getting started.lvproj for fpga)
please kindly reply me .
best regards ,
roxy
0 Kudos
Message 13 of 19
(1,216 Views)
Hi,

If you are using a 9233, I'd suggest you take a look to the NI 9233 Getting Started example:
LabVIEW 8.5\examples\CompactRIO\Module Specific\NI 9233\NI 9233 Getting Started
I think the I/O Node is the element what you are asking about. You can easily get it into a block diagram by dragging and dropping an FPGA I/O channel from the LV Project into a block diagram (e.g. AI0) or from the block diagram palette:  Programming>>FPGA I/O>>FPGA I/O Node.

The 9233 is a special module in which you need to send it a start signal (by writing TRUE to the Start channel), and then you can acquire data using an I/O Node.

The nodes you show in your previous post are for getting the calibration constants of the channel, which you use later to calibrate the data you get back from the I/O Node.

By the way, be aware that the 9233 is an AC coupled module, so that if you try to read a DC signal from it you won't get the correct reading.

JMota


Message Edited by JMota on 06-30-2008 08:29 AM
0 Kudos
Message 14 of 19
(1,201 Views)

 

The flow of our program is as followed:  

-there is an Voltage input from an accelerometer(3axis) and it will pass the Volt to NI-9233

-Inside the processor , what we want is to compare the acceleration at each axis

            (i) if  it is less than 20 g , it will just run the program

            (ii) greater than 20 g , it will record the data

            (iii) greater than 50 g , it will show alarm ,exract time line, signal out

 

Hi ,                                               

thanks Jmota.Your information really gets work but i still want to know about whether we need to use the calibration part or not .

with best regards ,

roxy

0 Kudos
Message 15 of 19
(1,175 Views)

Roxy,

You will still need the calibration VIs on your host because they take the raw data that your FPGA collects and converts it into real numbers that you can then use in calculations, data logging, etc.

Cheers,

Jonah
Applications Engineer
National Instruments

Jonah Paul
Marketing Manager, NI Software
0 Kudos
Message 16 of 19
(1,158 Views)


You will still need the calibration VIs on your host because they take the raw data that your FPGA collects and converts it into real numbers that you can then use in calculations, data logging, etc.

Or you could use the calibrated Fixed Point outputs avalible if you have NI-RIO 2.4
SteveA
CLD

-------------------------------------
FPGA/RT/PDA/TP/DSC
-------------------------------------
0 Kudos
Message 17 of 19
(1,154 Views)
Hi
 
As i don't have our real time input ( data from sensor) yet , i run it in emulator mode . When i run with emulator mode, there is no
 
calibratioin data in (LSB weight =0, offset =0),but when i off the emulator , there is calibration data . Why can't i get the calibration
 
data in emulator mode? Is it normal or something wrong with my program ? Let's say when we get our sensor (data from
 
 acclerometer) , will i get the calibration data or not ?
 
thanks .
 
best regards ,
roxy
0 Kudos
Message 18 of 19
(1,139 Views)

Hi Roxy,

1. In emulation mode the calibration data will not be available because normally LabVIEW receives this data from the specific hardware module and since the module is simulated there is no data available.

2. To find out what mode your module is in (calibrated - fixed point - where no calibration is needed, or raw where calibration is needed) you can right-click on the module in your project explorer and go to properties. In this dialog box you will see a drop down menu for Calibration Mode in which there is two selections calibrated or raw. Note if you do not see the calibration mode drop down menu, it means that you have a version of the RIO driver that does not support calibrated data (before RIO-2.4) and therefore is in raw mode by default.

Let me know if this helps!

Cheers,

Jonah
Applications Engineer
National Instruments

Jonah Paul
Marketing Manager, NI Software
0 Kudos
Message 19 of 19
(1,085 Views)