Change the color of the frame of the socket in parallel Mode

Hello, good day everyone!

I'm runnning my sequences in parallel Mode.

When I run a sequence, its color of frame socket continue in blue.

When I finish a sequence, its color of frame socket turns green momentarily.

I would like to change that color by program from my TestStand sequence. I don't know if it is possible.

Example: If the sequence is waiting for something, the color should change to Orange.

---

When I wanted to change the text that appears in the large textbox of the socket, I had to add the code to my paralleluutdlg.c, the PostParallelUUTDialogStatusMessage function.

http://forums.NI.com/T5/NI-TestStand/parallel-model/m-p/345847/highlight/true#M10401

I think maybe I need to add something like this once again to change the color, but I've found nothing related.

Thanks in advance!

Hello

I did recently added this feature to my system. I did it by modifying the example in this article in the knowledge base of NOR. I don't know if it's the best way to handle this, but it worked fine for me. I have modified the function as shown below. You simply pass your message and the hexadecimal color you want to use.

Hope this helps, maybe someone more knowledgeable can ring in to see if my work practice seems ok.

_stdcall DLLEXPORT int PostParallelUUTDialogStatusMessage (int dlgHandle, int testSocketIndex, int myColor, char * statusMsg)
{ Int error = 0;}
ERRORINFO errorInfo.

int panelId = dlgHandle;
int childPanel = - 1;

PUUT_PanelData * panelData = NULL;
TestSocketData * testSocketData = NULL;

errChk (GetPanelAttribute (panelId, ATTR_FIRST_CHILD, & childPanel));
errChk (GetPanelAttribute (panelId, ATTR_CALLBACK_DATA, & panelData));

testSocketData = & (panelData-> testSocketDataArray [testSocketIndex]);
SetCtrlAttribute (childPanel, testSocketData-> tonalite [kTSCtrl_Bg], ATTR_FRAME_COLOR, myColor);

SetCtrlAttribute (childPanel, testSocketData-> tonalite [kTSCtrl_TestSocketIndex], ATTR_TEXT_BGCOLOR, myColor);

errChk (ResetTextBox (childPanel, testSocketData-> [kTSCtrl_Status] tonalite, statusMsg));

Error:

error return;
}

Tags: NI Software

Similar Questions

  • Since I changed the Windows 7 32-bit to 64-bit operating system, I can't use Firefox browser except change the browser in safe mode.

    Since I changed the Windows 7 32-bit to 64-bit operating system, I can't use Firefox browser except change the browser in safe mode. When I start the browser is not open and it displayed a message
    Mozilla Crash Reporter

    User Agent

    Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729 .NET CLR 3.0.30729; Media Center PC 6.0; NET4.0C;. NET4.0E; InfoPath.3)

    Go to the address on: plant and tell us your last accident IDs. Then we can watch data specific to your accident and have a better idea of what is causing the problem.

    Given that everything goes well in safe mode, one of your extensions or themes is at fault. See Troubleshooting extensions and themes and problems of hardware acceleration to resolve common Firefox problems to figure out which one of your modules is the cause of the crash.

    Start here: https://support.mozilla.com/en-US/kb/Troubleshooting+extensions+and+themes#The_problem_does_not_occur_in_Safe_Mode

  • Satellite NB10T: Want to install Win 7 but cannot change the UEFI in MSC mode

    Hello

    I know that it isn't the best article at the post office, but there is no instance void for my computer (Satellite NB10T) series and this problem is bound to win 8
    I'm stuck at the moment: I disentailed 8 victory because I want to go back to 7

    I am aware of
    http://APS2.toshiba-tro.de/KB0/TSB2C03F80002R01.htm
    The problem is that I did not mode Boot under advanced system configuration option; the only thing I can do is enable or disable secure under the Security tab, startup mode which isn't enough

    I also added a supervisor password. It adds a clear keys for secure boot option, but still nothing on the Advanced tab to move to the Csm.
    Clearing keys does not work too.

    I tried to boot multiple linux distro and win7 on usb bootable (theses work on other computers), but no luck. Boot order usb first value of course).
    What can I do?

    Edit: will put some pictures of the uefi

    You posted the screenshots of the configuration of Toshiba utility.
    The boot mode must be changed in the BIOS settings.

    To access the BIOS of the laptop must be turned off.
    Then put the unit BUTTON and press F2 to enter the BIOS.

    In the BIOS, you will find the necessary options: secure boot must be disabled and the UEFI mode must be changed to MSC mode

  • Apple's music will not change the song on shuffle mode

    My iphone6 will not change the songs Apple music in shuffle mode. Once selected the song again and again.

    Hello

    update your iphone to ios9.2

    Settings > general > software update

  • change the languange to recovery mode

    Hello

    I have a laptop G50-70 purchased from Poland and I try to reinstal the system recovery mode windows, but it is in Polish!

    Can someone tell me how to change the language?

    Thank you!

    Thank you!

  • How can I change the resolution in XP mode?

    I've sorted the problem of memory through this site, now I need to sort out the graphics. XP mode only allows me to have 800 x 600 and no 3d. Is it possible to change this so that the program accepts my graphics card. Cheers, Ron

    Original title: how to make xp mode to accept my graphics card or even just me allow to increase the resolution

    Thank you all, but I solved the problem differently. I tried everything suggested, but nothing has worked. This afternoon, I was inspired to try to load the game on my other hard drive that is running a preview version of windows 8. two patches installed on the corner of links site - version 1.5 and 1.7 and it fired up immediately without any problem at all. Once again, a big thank you to all. Cheers, Ron.

    PS, I uninstalled XP Mode because I had no other use for it, but it was an interesting couple of days.

  • Change the image in grayscale mode?

    Hi, while saving a jpg, how can I change the image mode to jpg for the current document?

    activeDocument.changeMode (ChangeMode.GRAYSCALE);

  • change the graphic in compound mode

    Hello

    I have a PivotTable showing division salaries wise and I added a chart as well. now I have two of them showed according to compound on dashboard.

    My question is...

    If the division of the menu option drop-down, the values in the PivotTable changes but the graph shows the static data of all divisions collectively. I want to change the chart with the pivot table values change, when selected in the drop-down list.

    hope I explained

    waiting for kind response

    Kind regards
    Imran

    Hello

    I hope that you use drop down with pages...

    You create separate chart...
    According to pivot, itself you will find the option on dynamic cross i.e. graphic top and mention of the position of the graph...
    Now, values drop-down list of values will be performed for graph too...

    If not... you use the dashboard of the guests or filter column prompts... to all points of view with selected drop-down list values...

    And I found some of your discussion has not closed... just close them if answered...
    Thank you

  • Cannot change the photo on TL938 mode Store mode

    Hello

    The other day that my child was playing with the remote on the TL938 and when I started the TV today, it is in fashion Store for photo (very dynamic color and contrast).
    Try to change it - nothong arrives and after a few seconds the TV restarts.
    I would appreciate if someone can tell me what I can do to exit this mode?
    The location in the control panel is 'home '.

    I had to reset the TV to fix this - really strange behavior...

  • How to change the display in landscape mode on the Satellite

    Please help me!
    One day the Satellite screen strted in horizontal mode. No longer in vertical mode.
    What is whrong?
    How do they return to a vertical mode?
    Sorry fo my English!

    Thank you for an answer!

    Hello

    Something similar had happened on my desktop computer. I accidentally pressed the keys Ctrl + Shift + R key and the position of the screen has changed.

    I remember this option, you can use it on NVIDIA graphics cards. What laptop do you use?
    It would be very interesting to know what exactly your unit name.

    But as I said, try to use the combination of keys, or you can also try to change these settings in the advanced properties of graphics card

    Good luck

  • How can I change the units in perspective mode in Adobe Illustrator?

    When I do a drawing for example, one rectangle on the left grid, the dimensions of the rectangle are shown in points (pt). But I want that these dimensions in inches. How can I change these dimensions. I tried the form Edit > Preferences > units... but nothing changes. My size on adobe Illustrator are given in pt and not like the following picture.

    Display > Perspective grid > Define grid

  • How can I change the speed of scrolling mode full screen?

    Web design point of view, full screen is great, although I would love to have the speed a little faster.

    Look again at your mouse settings in the system they can help.

  • How to change the display from portrait mode to landscape please?

    Since I had this updated version, I don't have any tools to rotate the screen, her gives me a pain in the neck--literally!

    Look at the view menu > display rotation >...

  • scanning mode of scanning screen. Cannot change the option of transparency-postive.

    Hi, I need help please, I have a hp photosmart c7180 while a printer and scanner, OS mavricks 10.9.3 when scanning window opens it says waiting for scanner, the screen flashes to another screen with a sidebar on the side right which has the following options. Scan mode; Kind; colors; Resolution; Size; Scanning; Name; Format; Image correction; Adapaptive lighting. Sharpen. "" I can not change the transparency-Postive scan mode or any other function in the sidebar, at the top of the screen displays a box of ' Scanner reported an error ' and the beach ball is everything. The only way to get rid of this is to force quit the printer. I also tried to restart and download the latest patch printer but every time that you open the option scan the same things happen more. any help with this problem would be great.

    jm44

    Hi Sunshyn 2005,

    We thank you for your email on how to reinstall and and remove the printer and repair disk permissions. I carried out all the instructions in your email and kept happening the same thing, so I thought to what might solve this problem? then the answer came to me, that would fit the tray of slides (with slides) and remove the white plate then allowing the transparency-postive option to be changed again flat. If you don't analyze a transparency it won't let you change it back flat. I want to say thank you for the help with the matter and I hope that this email explains what went wrong.

    Thanks a lot for your help.

    jm44

  • Change the height and width of the video image...

    In Adobe Premiere Pro CS 5, I can't produce a video larger than the width of the frame (of output): 720 and frame height: 480. The video is recorded in full HD 1920 x 1080 p, but after editing and adding effects in first Pro CS5, changes in video for only 720 x 480.

    (1) where the settings in Premiere Pro are modified to produce a video size of the width of the frame: 1280 and frame height: width 720 frame or even: 1920 height: 1080?

    (2) is it possible to produce 1920 x 1080 or 720 x 480 max video?

    Your time is appreciated.

    File > new > sequence, then:

    1. Choose a preset that matches or is less similar to your videos, or,
    2. Click the general tab, change the editing for "Desktop" Mode and set the parameters as you need for your videos

    Otherwise, drag a film clip to the button new item at the bottom of the project Panel (it looks like the dog-swamp of paper sheet) and created a sequence corresponding to your images.

Maybe you are looking for