09-24-2013 10:06 AM
Ladies and Gentlemen,
I'm completely new to Labview Signal Express. I want to complete the following extraordinarily complex task: blinking an LED 🙂
Unfortunately I loose my way either in the documentation, in the help system and in Signal Express as well.
What I have:
- Signal Express and Measurement and Automation Explorer installed on my PC.
- cDAQ-9172 is connected through USB, it seems to work.
- NI9219, NI9205 and NI9403 are connected into the base (cDAQ-9172).
- an LED with serial resistor connected to NI9403's port0,0.
- "Getting Started with LabVIEW Signal Express" document, june 2012. It matches with the SW version. (so-so)
What I can:
- in Measurement and Automation Explorer, I can change the direction and the status of port0,0. This way, the LED is ON and OFF, if I toggle it manually. So, the HW is working.
What I can't:
- I'd like to do this LED to toggle, for example by 1Hz, automatically. Whatever I do in Signal Express, it never works.
What I need:
- Has someone so many patience, that he could help me? (Before I take a huge hammer which can solve most of the problems 🙂 )
Thans in advance: JeanTheDummy
09-25-2013 03:35 AM
Add Step>>Generate Signals>>DAQmx Generate>>DIgital Output>>Line Output and configure as shown in attached image.
09-26-2013 04:24 AM - edited 09-26-2013 04:42 AM
Hallo KateB, thank you for your answer.
I tried it the same way as you desribed.
I can toggle the LED manually, by clicking on High or Low, or by clicking on Invert Line.
It doesn't toggle automatically, as I wish.
(Toggling this LED is unimportant, it is just something like "hello world" in programming)
<Here comes the first picture>
I thought I can generate a square wave signal by 1Hz, and I can route it somehow to DAQmxGenerate, to make it toggle continously until I stop it.
So, I added a new step. But, the new step doesn't belong into the same circle, where the first step is. Probably it is the reason why it doesn't toggle the LED.
I have to modify the configuration to generate N samlples. Then, the two steps automatically belong together, without my intervention. But, still doesn't work:
<Here comes the second picture>
It requires an external clock - OK, let's give him.
The only possibility to choose from is here:
<Here comes the third picture>
This configuration runs errorless, but my LED is still dark 😞
09-26-2013 04:26 AM
Hey, where are my pictures? I inserted them ...