LabVIEWForum.de
output a digital signal with 6533 from a txt file - Druckversion

+- LabVIEWForum.de (https://www.labviewforum.de)
+-- Forum: LabVIEW (/Forum-LabVIEW)
+--- Forum: Hardware (/Forum-Hardware)
+--- Thema: output a digital signal with 6533 from a txt file (/Thread-output-a-digital-signal-with-6533-from-a-txt-file)



output a digital signal with 6533 from a txt file - rcatxi2 - 25.09.2014 17:25

Hello,
I start with labview and I am using the PCI-DIO-32HS (6533) to output a digital signal.
I have to generate a digital signal with the 0-1 values from a txt file (I have attached a typical txt file). This signal must have a variable frequency (typ. 1.2Mhz) that the user can change. The level of the 1 (the amplitude: Vcc) should be variable too (1v<Vcc<7v).

1: it is possible to choose different amplitudes for a digital output in the NI 6533?
2: Should I use the DAQmx - Timing VI?, and how?

3: Should I generate a digital waveform direct with the String-table to Digital data (VI) or should I copy the one and zero values to an array and then output these values with the help from de DAQmx timing?, and how?

4: I´m trying with the attached VI but the -200077 error appears and maybe I´m doing a lot of wrong thinks. What can I do to improve that or should I do in another way?

I will really thank for the help and advice you can give to me.

rcatxi

EDIT jg: Cross-Post: http://labviewportal.eu/viewtopic.php?f=86&t=7475


RE: output a digital signal with 6533 from a txt file - jg - 25.09.2014 18:01

For question 1: No, you can't, Level is TTL. ( http://www.ni.com/pdf/manuals/374163a.pdf )

For all other question, have a look at the NI Example Finder, add your 6533 to the hardware selection and limit the results to your 6533.

[attachment=50892]

Jens



Please no cross-posting without publishing links to your cross postings! (cf. LVF rules!)


RE: output a digital signal with 6533 from a txt file - rcatxi2 - 26.09.2014 16:28

Hi,
Thank you for the answer.
I had a look to the examples and tried…
But I continue having the following problem with my VI:
error -200077
Possible causes:
Desired value is not supported for this property.
Feature: output. buffer size
Requested value: 45529
Increment for buffer size: 2

I understand that I should increment the buffer, but how can I do that?
(The VI is attached)
Thanks in advance.


RE: output a digital signal with 6533 from a txt file - GerdW - 27.09.2014 09:33

Why do you want to set the buffer size at all?


RE: output a digital signal with 6533 from a txt file - jg - 27.09.2014 09:57

I'd say the error message tells you to use an even number for the buffer size.

Regards, Jens