09-27-2007 12:31 PM
09-27-2007 01:00 PM
09-27-2007 02:20 PM
09-28-2007 06:19 PM
10-01-2007 08:08 AM
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.
________
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.
10-01-2007 10:09 AM
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.
10-02-2007 06:43 PM - edited 10-02-2007 06:43 PM
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