LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Reading and Writing using the same DIGITAL PORT with 7811r

Team,
 
Here is my delima, i've attached the code to see if some can help me out.
 
here is what i'm tring to accomplish.
 
I can enable the control line to the Computer,and i can write to the computer on it 32 bit General Pupose I/O. The 7811r writes data to the scs750 and the computer display that i'm sending the binary code display back what i wrote... that is fine, but when i want to do the opposite, meaning now the Computer is going to send the data to the 32bit I/O and the NI-7811r will then "READ" that binary data, at least in theory that should work, but it doesn't......
 
so then i start creating seprate FPGA modules but everytime they download the bitfile the computer restart? even though i disable the RESET and i hardcode the controls?
 
so then i went into the enabling and disabling the outputs using the "FPGA Method" and selecting the output enable>> PORT 1>> b11111111 (to enable) or b00000000 (to disable).but this seem not to work at all.... no matter what i do.....
 
i think i got it wired right but i have no luck...
 
every thing works on it own module but i get resets when i go from one download to the other.....
 
 
hopefully this makes sense.....
 
i've also attached the files.
0 Kudos
Message 1 of 4
(2,946 Views)

Hi CrukZ,

Thanks for contacting National Instruments.  I have been looking into your question and I do have a suggestion for you.  One example that I would like for you to look at is in the LabVIEW Example Finder.  The name of the example is Digital Line Input and Output - R Series.  This example goes through some of the procedure that you are trying to do.  I would make sure that you have the Enable input wired with the correct values for Reading and Writing and see what you are doing different when compared to the example.  I hope some of this helps and please let me know if you have any more questions about this.  Thanks!

Regards

Noah R
Applications Engineering
National Instruments
0 Kudos
Message 2 of 4
(2,913 Views)
Thanks Noah,
 
i'll look into this... but what about the digital PORT?
0 Kudos
Message 3 of 4
(2,909 Views)

Hi CrukZ,

There is also an example entitled Digital Port Input and Output - R Series.  I hope this helps!

Regards

Noah R
Applications Engineering
National Instruments
0 Kudos
Message 4 of 4
(2,907 Views)