I want to order two relays, but Labview says that I have something wrong with my VI

Of the image, I have 2 control relays, they are the two toggle switch type, I want to control at the same time, but fail to do so.

I already have digital > channels > single sample 1 > Boolean (1 line per channel) and before I run it, I choose the channel 0 and 1 in the front panel

When I run it, the program does not give error, however, I use a voltmeter to test the voltage on ports 0 and 1, they are 5V and stabilize... which does not correspond to the VI I write

After you click stop, Labivew said:

read name or write operation failed because the number of rows in the data of a string is not the lines in the channel.

If you use the digital waveform data type, make sure that the number of lines in the digital waveforms is the number of lines in the channel. If you are using Boolean data, make sure that the dimension of the array for the rows of the data is the number of lines in the channel.

Number of lines in the channel: 8
Number of rows in the data : 1

Task name: _unnamedTask<4>

 


What is the problem with my VI? Thank you

He doesn't seem to like the layout of the table 1 d Boolean.  It is not sensible.

But I found a way so that it will run without errors.  I don't know without having a real DAQ hardware whether outputs will be correct.

1. change all DAQmx wrote on the Board of Boolean 2D, (N lines per channel).  If Digital > multiple channels > sample > Boolean 2D.

2. change all the raster constants to add a dimension turning them into 2D Boolean tables.

Now, it will run without error.  But if the output is correct or not, you need to test.

You said you want to control the relay.  I don't know what kind of relay that you have, or is that your DAQ hardware, but take keeps most of the DAQ cards do not provide enough current to directly drive a relay.

Tags: NI Software

Similar Questions

Maybe you are looking for

  • How can I disable the warning "this connection is not approved", which appears almost each time I try to go to a Web page via Firefox? I use 10 64-bit Windows.

    I just upgraded to 10 64-bit Windows. The version of Firefox that works now on this OS regularly displays a blocking window that told me that "this connection is not approved" when I try to connect to a third-party site. A screenshot of the window co

  • Wireless Notebook Presenter Mouse 8000

    I have a Wireless Notebook Presenter Mouse 8000,the original USB transceiver broken. I had a co-worker who has mouse was broken. My mouse will pair with this "new" USB transceiver I understand that the mice and the Transceiver are matched at the fact

  • Droid 2 can not find applications having 1 Droid!

    I bought myself a Droid and have some nifty apps such as Ringo and PhotoVault.  Cool. I then bought a Droid for my boyfriend (who is on my account) and went to the market to download apps for the Droid.  I press the search, I type in the name of... a

  • My computer does not detect the second monitor

    I just bought another monitor for my PC. My first monitor is plugged into one of the two VGA connectors at the back of the computer, and my second monitor is plugged into the second slot VGA. However, when I try to detect the second monitor does not

  • Error 1328

    I have a working computer that will not update and keeps giving me error 1328, saying that the program cannot be modified by this patch, it cannot apply the fix to the file C:\Config.Msi\PT4E19.tmp can someone tell me how to erase or correct this? We