Driver Development Kit (DDK)

cancel
Showing results for 
Search instead for 
Did you mean: 

Problems configuring a port in niPXI-6509 card as input port using static DIO Register Level Programmer maual

Hello ,

             I am using a ni PXI-6509 card for my application. Since I have to compile my application in Interval Zero RTX, I am using the static DIO Register level programming using VISA. I have successfully configured the card to do output on  port0. But when I attempt to comfigure another port1(not the same as output) I can successflly configure it. But when I send 5V through the corresponding pins I donot get a value 1 in the Data register for that channel.

 

the following i did to configure as Input...

 

1) IO Select register set to 0 (for input as the manual suggests)

2) read from IO data register.

 

 

Do I need to do anything special to configure as input port.

 

please suggest...

 

Thanks

Kuchi

0 Kudos
Message 1 of 4
(7,979 Views)

Hi Kuchi,

       So,one thing that I'm curious about is- are you actually using the Driver Development Kit?  As well, have you tried using IO Select register to 1?  Where in the manual did you see that you should select register set to 0 (I think I'm just missing it)?  And, just to clarify- can you successfully output on all ports, or just port 0?  Thanks!

0 Kudos
Message 2 of 4
(7,959 Views)

Hi

 

We use VISA based Register level programming for E Series DIO channels for one specific purpose. We access only the following DAQ-STC Registers

 

DIO_Control_Register  
DIO_Output_Register   
DIO_Parallel_Input_Register 
Window_Address_Register  
Window_Data_Read_Register 
Window_Data_Write_Register 

The E Series RLP manual provides their address and offset correctly. We want to use the M Series Board and I am unable to find the DAQ-STCII RLP details. I tried the entire NI Site. Please provide the STC II registermap or atleast the register information of the above registers.

 

thanks and regards

Sathish

 

0 Kudos
Message 3 of 4
(7,905 Views)
Hi Sathish,

Given how much blatant, undisclosed, and unrepentant cross-posting [1] [2] [3] [4] [5] you've done to ask this question, I gave you the benefit of the doubt that you were new to the NI forums and didn't understand the etiquette of this community. However, looking at your profile, you've been around just over 8 years! How can you be so selfishly impolite?

To your credit, you at least searched the forums to find (somewhat) relevant to which topics to reply, but as you said you 'tried the entire NI Site', I'm surprised that you missed the DDK home page [6] that has a link to the M Series register map.

[1] Re: m series register programming in straight C
http://forums.ni.com/ni/board/message?board.id=90&message.id=1644#M1644

[2] Re: Problems configuring a port in niPXI-6509 card as input port using static DIO Register Level Programmer maual
http://forums.ni.com/ni/board/message?board.id=90&message.id=1645#M1645

[3] Re: Problem with writing to registers
http://forums.ni.com/ni/board/message?board.id=90&message.id=1646#M1646

[4] Re: Is there a Register Level Programming manual for NI 625x PXI
http://forums.ni.com/ni/board/message?board.id=270&message.id=7661#M7661

[5] Re: Where Can I find information about register level programming the PXI 6259?
http://forums.ni.com/ni/board/message?board.id=250&message.id=53551#M53551

[6] Register Level Programming for OEM Customers
http://digital.ni.com/express.nsf/bycode/exyv4w?opendocument
Joe Friedchicken
NI Configuration Based Software
Get with your fellow OS users
[ Linux ] [ macOS ]
Principal Software Engineer :: Configuration Based Software
Senior Software Engineer :: Multifunction Instruments Applications Group (until May 2018)
Software Engineer :: Measurements RLP Group (until Mar 2014)
Applications Engineer :: High Speed Product Group (until Sep 2008)
0 Kudos
Message 4 of 4
(7,896 Views)