Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

Finding an example to run on labview 7 w/6025E

We bought a 6025E, have the Labview 7 Express eval SW. It appears that we can only modify existing code so it appears to us that we have to find a suitable example to run on our system. (OT we spent a lot of time looking for something called DIO Port 2.vi for one of the examples)
DOes anyone out there have example code that we can use to evaluate labview 7 and the 6025E?

Many thanks for reading, more of course for any assistance......

Rob Roy
0 Kudos
Message 1 of 6
(3,891 Views)

Hello Roy,

Can you give me a more in-depth description of the function(s) you�re trying to perform with your DAQ boards?

LabVIEW has a set of example files that you can access for use with your data acquisition procedures. To view/use these examples, click [Help]>>[Find Examples] and search for "DAQ".

Furthermore, NI-DAQ Assistant is arguably the best way to get started using DAQ in LabVIEW. 

You will want to also upgrade to the newest NI-DAQ driver (respective of your operating system).

I hope this helps. Please let me know if I can further assist you. Have a great day!

Regards,

Joe Des Rosier
National Instruments

0 Kudos
Message 2 of 6
(3,891 Views)
"Hello JDesRosier;

Yes, we have purchased a 6025E card and want to evaluate which application (Labview Express or LabWindows) to purchase. Our plan is to use the demo of labview 7 express first to develop a simple test, and then use the labwindows demo to develop and evaluate the same test. This would give us a good feel (we thought) for which product we want to purchase. Our problem appears to be that without a license (Labview or LabWindows) we can only modify an existing task, channel, or scale according the measurement explorer. We are not sure what that (Message from ME) really means except that we are left to wonder what it means not having experience with the products.


We need an example program that we can use directly or modify for the 60
25E card that will give us a sense of what the test programming will be like in Labview 7 express. Our test scenario is to set a state, read our inputs, wait a period of time, change state, read our inputs, wait a period of time. We would like to use a spread sheet form to control the output states and compare the input states against, as well as set the period of time for each state. Setting a state includes setting the direction register for those ports or bits that can be set. If this is an easy demo or if it already exists in a state that we should be able to use and evaluate then please point us to the right location or source.


Our operating system is Windows XP Pro, internet connected, and can be set to host for GOTOMYPC or Windows remote assistance should there be an active interest in getting us going. We have a contractor in house whose job it was to set up a demo test but we are afraid that we shackled his efforts by not having the software already purchased. Is this a f
air assumption?


Your thoughts, assistive actions, and criticism is welcome.


Sincerely,


Rob Roy
0 Kudos
Message 3 of 6
(3,891 Views)

Hello,

If you have extensive text-based programming experience, you may prefer to purchase LabWindows/CVI. This is our C-based compiler, and it is usually preferred by people who are biased towards text-based programming.

I, personally, recommend that you purchase LabVIEW. Keep in mind that LabVIEW is our core product, so all of our hardware product lines are designed for use within LabVIEW. Furthermore, the support resources are much more extensive with LabVIEW in comparison to LabWindows/CVI.

The demonstration you�re looking to create is easy to program using the DAQ Assistant.

If you would like to reference an example VI, please open LabVIEW, click [Blank VI], click [Help]>>[Find Examples]>>search for "DAQ Acquisition", and click through each of the examples in the list to read the descriptions and choose an example that best fits your needs.

While I cannot write your demo VI for you, I can help debug any issues you face while creating the VI using the DAQ Assistant or the pre-made Example VIs.

I hope this helps! Let me know if you need further assistance after testing the Example VIs and/or using the DAQ Assistant to create your demo.

Best of Luck,

Joe Des Rosier
National Instruments

0 Kudos
Message 4 of 6
(3,891 Views)
Hello Joe;

What I seem to need is an example vi of a global input channel /dev/port0 8 bits wide, which is a digital port, connected to a boolean 8 member LED array which then is connected to an output global channel /dev/port1 (again 8 bits wide &digital). So the input 8 bits would directly or indirectly control the output 8 bits.
This would give me a sense of what is needed initially, then I would like to do the same thing except with a table. The input port 8 bit port would populate rows of my table for each sample. Then if I could use the last sample data to control the output port I would be cooking.

Is this difficult? It seems that just figuring out what objects to use is the hardest part.

Thanks Again...

GB
0 Kudos
Message 5 of 6
(3,891 Views)

Rob,

Try the following example. I think it's along the lines of what you're trying to create. It may require some modification, but it's a good starting point.

LED DAQ Example

I hope this helps!

Good Luck,

Joe Des Rosier
National Instruments

0 Kudos
Message 6 of 6
(3,891 Views)