Driver Development Kit (DDK)

cancel
Showing results for 
Search instead for 
Did you mean: 

question about MHDDK

there r a lot of expression like the follow in the GPCT example 1:

"

 board_tTIO_gpct->G0_Mode_Register.setG0_Output_Mode(tTIO::tG0_Mode_Register::kG0_Output_ModePulse);
    board_tTIO_gpct->G0_Mode_Register.setG0_Loading_On_Gate(tTIO::tG0_Mode_Register::kG0_Loading_On_GateNo_Reload);
    board_tTIO_gpct->G0_Mode_Register.setG0_Loading_On_TC(tTIO::tG0_Mode_Register::kG0_Loading_On_TCRollover_On_TC);

"

but in my program i cannt find the defination of :"tTIO::tG0_Mode_Register::kG0_Output_ModePulse" and "tTIO::tG0_Mode_Register::kG0_Loading_On_GateNo_Reload". a lot of the defination is not found in my program  can any body tell me why?

 

 I had explored the tTIO.h ,but i still didn't found any defination of them.

 

thank u

0 Kudos
Message 1 of 5
(7,852 Views)

 

Both constants should be defined in tTIO.h.  The definitions are as follows.

 

tTIO.h, line 910

kG0_Output_ModePulse             = 1

 

tTIO.h, line 953

kG0_Loading_On_GateNo_Reload         = 0

 

Let us know if you still have problems.  

 

Thanks,

 

Ed

 

0 Kudos
Message 2 of 5
(7,842 Views)

thank u so much Ed-W

can u give me the tTIO.h u used.i really cannt find the defination of them and a lot another like them.

i am waiting for ur reply.

thank u  again for ur kindly help.

0 Kudos
Message 3 of 5
(7,821 Views)

The tTIO.h file that I'm using comes from the nimseries/ChipObjects folder.  You can download the M Series register maps and examples from the Register Level Programming website.  

0 Kudos
Message 4 of 5
(7,812 Views)
thank you Ed W , i will try it.i think i used the wrong tTIo.h .my friend give me the ni660x DDK.
0 Kudos
Message 5 of 5
(7,788 Views)