06-18-2008 10:05 PM
I am using LabView8.2 for my project , NI-9233, NI9101 , NI 9012.
i have attached our draft programs.and i have been recomanded to modified the NI-9233 getting started example program.(Find Example>> Hardware input & output >> compact RIO>> module specific >> Analog input >> NI-9233 getting started.vi proj.)
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
-Inside the attached program , we can test the above all of those conditions using random numbers .
What my problem
-I have no idea to combine these two program together in order to get what we want .
-Now we can run our own program , but i don't know how to put our program inside the NI 9233 example program to be compactable with NI 9233
I am looking forwards to your reply , thank you very much for your support
Best Regards ,
06-19-2008 04:16 PM
06-19-2008 08:44 PM
Thank you so much for your support. But i am not quite so sure about that FPGA VI from your message . Does that FPGA VI mean NI 9233 getting started (fgpa).vi ?
06-20-2008 03:36 AM
Thank you so much . i am looking forward you reply .
06-20-2008 08:03 AM
Why not attach the images to your message as .png files rather than having them hosted on some 3rd party webserver? They are rather small and hard to see what's happening with that wire. It would be best if you posted the .vi as well.
It looks like you have a mismatched datatype. You have some sort of integer value (the blue wire coming out of the multiplication) trying to go into a terminal of a different type. It's hard to tell because it is cutoff in your screenshot and it is reduced so small, I can't make out the color of that wire.
If you turn on Context Help and hover your mouse over that wire, it will give you some details as to what the wires are and why they won't connect. As well as clicking on the broken run arrow at the top of the VI.
06-20-2008 03:14 PM
06-22-2008 10:55 PM
Thank you so much for your support.
Now there is no error already.
So i need to put the NI-9233 getting started(host).vi as subVI into my program,general 1.vi , am i right?
if yes, which one will be input and output of this subVI (NI-9233 getting started(host).vi).?
pls see the top right most of the following pic(front panel of NI-9233 getting started(host)), the connector.
is the input sample/channel or data rate?
and which one will be the output that can connect with our program?
Thanks a lot .I am looking forward your reply.
Best regards,
06-23-2008 02:13 PM
06-26-2008 10:44 PM
06-30-2008 10:57 AM