01-21-2016 04:47 PM
Hi,
I am new to use NI PCIe-6363. I would like to use it to generate a clock singal and some bit string as an input of my registors (e.g. Scan Chain). I am wondering which type of outputs I should use, analogy or digital? If I use digital, then how can I define the high level voltage of digitial signal. When I look at a Labview example of digital output from PCIe6363 in NI example. There is no input papramter which is required to define the VIH.
Does the digital output always generate bit in boolean?
01-22-2016 01:48 AM - edited 01-22-2016 01:50 AM
Hi Jennie,
digital IO uses TTL levels - as is written in the manual of the PCIe6363!
When you need other levels you need to build up a PCB with some electronics…
Does the digital output always generate bit in boolean?
That's the purpose of digital IO: working with boolean signals…
generate a clock singal and some bit string
A clock usually is a boolean signal - use one of the counters on your DAQ device.
A "bit string" should be a boolean waveform in LabVIEW…
01-22-2016 03:28 PM
If I generate a clock, how can I verify if it's correct or not?
01-22-2016 04:08 PM
01-22-2016 04:15 PM
I tried it. I use one PFI (e.g. PFI 12) to generate a clock. Then wire it to another PFI (e.g. PFI 14) as an input and monitor the width of input pulse or counter the edges of it. I added an indicator at the output of the DAQ assistant. I got nothing.
01-22-2016 07:04 PM
02-11-2016 12:03 AM
Hi Dennis
I stored my scain bit in a cvs file. And I will read it in labiew as a scan bit output from port 0 line xx. Meanwhile, I will use PCIe to generate a clock.
Attached are my code and the cvs file to be read into labview. Actually I want to the read a nuber from the cvs file can control the pcie to generate a boolean bit from port 0: xx. Then I will sample the generated boolean bit when at the rising edge of the clock. In the code it says the type of data is not same and I don't know how to convert it. Could you help me?
02-11-2016 01:53 AM
Hi Jennie,
- why do you set DAQmxWrite to "1chan 1Sample" mode when you want to output more than one sample? Have you ever considered to use "1ch Nsamples" mode?
- when your CSV file contains just "0" and "1" you surely don't want to convert number to boolean array. All you need is a simple comparison "<>0" to get your boolean values…
02-12-2016 12:24 PM
why do you set DAQmxWrite to "1chan 1Sample" mode when you want to output more than one sample? Have you ever considered to use "1ch Nsamples" mode?
I tried 1chanNsamples. It doesn't work. And I replaced converting to boolean array with a comparison. It didn't work either.
02-13-2016 12:02 PM
Hi Jennie,
this is the same VI as before…
I tried 1chanNsamples. It doesn't work.
What have you tried (in which way) and what didn't work? What was the error?
And I replaced converting to boolean array with a comparison. It didn't work either.
What have you tried (in which way) and what didn't work? What was the error?