NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How to plus two additional serial number box in original PUUTPANEL in parallel mode of 2010 teststand?

Hi, 

Thank you for your reply.

I am familiar with CVI. It's not my question. In parallel mode TestStand runs paralleluutdlg.c file other than uutdlg.c file. In sequence mode, Teststand runs uutdlg. It can be directly modified for plus any input serial_box in CVI, its easy and no any questions.

But in parallel mode,Its big different process way. At first Teststand calls Initialize Dialog function as fig 3 in the attached file. This init function creates a child panel which gets all attributions such as ATTR_FRAME_STYLE,width,scroll,left.right, UUT_SERIAL_NUM_LBL so on forth (fig4) from PUUTPANEL automatically. The control of SERIAL_NUM (fig5) is not a normal hot mode other than a indicate mode,(it only display and can't be get serial number from this control.) It calls PUUT_SerialNumCallback(Fig6).   so new controls are displayed on the the several new child  panels  dynamically which depends on the number of sockets in parallel mode.  they are complicated process way in parallel mode.

Up to now I can't find any codes to shape new serial number control in new child panel and which codes can get serial number in these codes.  So if plus a new serial number control in indicate mode like original one in PUUTPANEL (FIG1), it can be displayed(Fig2).  That is my question. 

0 Kudos
Message 11 of 12
(54 Views)
Highlighted

 In parallel mode TestStand runs paralleluutdlg.c file other than uutdlg.c file. In sequence mode Teststand runs uutdlg. It can be directly modified for plus any input serial_box in CVI, its easy and no any questions.

But in parallel mode, Its big different process way. At first Teststand calls Initialize Dialog function as fig 3 in the attached file. This init function creates a child panel which gets all attributions such as ATTR_FRAME_STYLE,width,scroll,left.right, UUT_SERIAL_NUM_LBL so on forth (fig4) from PUUTPANEL automatically. The control of SERIAL_NUM (fig5) is not a normal hot mode other than a indicate mode,(it only displays and can't be get serial number from this control). It calls PUUT_SerialNumCallback(Fig6).   So new controls are displayed on the several new child panels dynamically which depends on the number of sockets in parallel mode.  It is complicated process way in parallel mode.

Up to now I can't find any codes to shape new serial number control in new child panel and which codes can get serial number in these codes.  So if plus a new serial number control in indicate mode like original one in PUUTPANEL (FIG1), it can’t be displayed (Fig2).  That is my question. 

Could you explain it ?

0 Kudos
Message 12 of 12
(47 Views)