LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

DAQ Assistant change timing

In my DAQ Assistant, I have three major signals so far (CLOCK, ALE, and 16 Addresses):
How do I set CLOCK like in DAQ Assistant to have certain period (125ns)?
How do I set ALE to start being 'high" at certain time (187.5ns) and to get "low" at 250ns?
In DAQ Assistant, when I click Run,  get all 16 address lines to appera. How do I combine all address lines to be shown on only one line. I am trying with Transition Type but it doesn't work.
 
Thanks
0 Kudos
Message 1 of 7
(3,487 Views)
Also, if I want to use only 16 specific lines from Waveform generator (NI 6541), and I want to acquire data from those 16 lines, how to do so? All I am getting to chose is between ctr 0 and ctr 1.  I want to read specific hex value from those 16 lines coming from Waveform generator.
0 Kudos
Message 2 of 7
(3,482 Views)
Forget the previous two posts. This is what I came up with so far.
0 Kudos
Message 3 of 7
(3,477 Views)
 Hi the_intern,

  Could you please describe your application in some detail, that would help a great deal.

 I'll go ahead make a few comments on the VI you've posted:
  1.  Here's what I think your application is:  Generate CLOCK, ALE and 16 address lines.
  2. You can do this with a HSDIO Express VI
       This takes a Data input that should contain the ALE and 16 address lines. This will be 17 total lines of Data. DIO0-DIO16
  3. Sample CLOCK will be exported onto the CLK OUT pin
 
The DAQ Asst's are for DAQmx devices, not HSDIO devices. You can certainly have both a DAQ Asst and HSDIO Express Generate in the same program running simultaneously but
a HSDIO device cannot be controlled by a DAQmx VI such as DAQ Asst.

 Please do post back and clarify what your doing and we can try to help more!

 Have a great weekend,

MatthewW
Applications Engineer
National Instruments

0 Kudos
Message 4 of 7
(3,454 Views)

Matthew,

All I am trying to implement in LabVIEW is ISA bus and to follow the procedure/steps for generic ISA bus. All the ISA lines are on the 6289 except DATA lines which are on the 6541. This is the link of how ISA bus works.

16-Bit I/O Bus Cycles

                         ________
BALE      ______________|        |_____________________________
          _____________  __________________________________  __
SA(15:0)  _____________><__________________________________><__
          _________________                                 ___
-IOCS16                    |_______________________________|
          _____________________                          ______
-IOR/W                         |________________________|
                                        __________________
SD(15:0)  -----------------------------<__________________>----
 (READ)
                                  ________________________
SD(15:0)  -----------------------<________________________>----
 (WRITE)
          _______________________ _ _ _ _ _ _ _ _ _ _ ______
I/OCHRDY                         |___________________|
So, I have DAQ Assistant for each line/pin that are connected to one same clock (8MHz).
I attached the latest version I have.
0 Kudos
Message 5 of 7
(3,439 Views)

Also, I built this simple write-read VI. How should I combine this one into my ISA vi since this one is just generic write-read VI.

 

0 Kudos
Message 6 of 7
(3,433 Views)

Hi the_intern,

What exactly are you planning to write and read using the Write-Read VI?

The ISA BUS VI contains DAQ Assistants for inputs and outputs.  There is no need to use a DAQmx Start Task VI after every DAQ Assistant.  Essentially, the DAQ Assistant will start the task, read/write the data, and close the task for you.  It also looked like you were using the DAQmx Start Task for error handling as well, which can be directly obtained from the DAQ Assistant. 

From what I understand about your application, you should be able to write and read using the DAQ Assistants.  Therefore, you will not need to combine the Write-Read VI and the ISA BUS VI you created. 

I would suggest going through the Getting Started with NI-DAQmx document to make programming easier for you.  Post back if you have any other questions.

Message Edited by Hani R on 10-02-2007 06:43 PM



Best Regards

Hani R.
Applications Engineer
National Instruments
Message 7 of 7
(3,384 Views)