Changing DataSocket permission group settings dynamically or how to hack CWDSSINI.DSS

[LV7.1 on XP]
Last I checked, there was no way to programatically alter the permission groups for DataSocket Server.   Changes were limited to using DataSocket Server Manager or plugging in different DSS Manager exported setups via file swapping with cwdssini.dss and restarting the DS server.  I feel that I need something more dynamic than that, even if I have to programattically exit the DS Server, edit cwdssini.dss and relaunch DS Server.  It's a rather large and complex app that is virtually finished in a time sensitive situation or I'd just forsake DSS for VIServer transfers.
1. Does LV8 provide any different means for dynamic editing of DataSocket Server permission groups?
2. Has anybody experienced any success in hacking cwdssini.dss?
Thought I'd better ask before attempting to reinvent the wheel.  I have a difficult time understanding why the VI Server provides a mechanism for dynamic permission changes and DSS does not...
Any ideas are greatly appreciated.
Thanx,
Spaz
Wish I didn't know now what I didn't know then...

Spaz,
Unfortunately, there has not been much DataSocket functionality added to LabVIEW 8, so editing the permission groups has not been updated.  I think that swapping the cwdssini file would be the best way to go if you wanted to change any of the config settings.  If you are interested in doing something in more of a timely manner, then you will probably be better off with VI Server, but I don't think you will see much overhead by restarting the DSS.  I have not heard of anyone having success with accessing properties in cwdssini programmitically. 
Andy F.
National Instruments

Similar Messages

  • Changing users and groups settings without unlocking

    I recently upgraded to Mountain Lion and have noticed that I can change the settings in preferences for Users and Groups without unlocking.
    Should this be the case?

    I tried what you suggested but there is no change.
    Many Thanks

  • Can I Programmatically Change the Active Group on a Hypertrend in DSC?

    I would like to know how to programmatically change the active group of a hypertrend in Labview DSC.  I saw a link which said it can be done in Lookout.  But in the DSC module, the active group is read only.
    I know of a hard way to do it.  I could save the hypertrend settings as xmlSettings to a temporary file.  The active group is one of the settings.  I could then change the active group in this text file to point to the new group and then reload the settings.  But this is not a clean way of dong it.
    Anyone know if there is a easy way?
    Solved!
    Go to Solution.

    I found a way to do it but its not very clean.  I dont know why there is not a function to change the current group.
    Here is how I did it.

  • Can we change the Record Group Type through Custom.pll

    Hello All,
    I have a small requirement on Changing the Record Group Dynamically.
    Can i set the Record group type to 'Query' from 'Static'. i.e Can i change the Record group type dynamically through custom.pll. I know that we can dynamically change the Record group query.
    Please help me its a bit urgent.
    Thanks inadvance,
    Amarnadh Js

    you can control your record group runtime without create any recordgroup at design time..
    1.static group
    declare
       rg_name         VARCHAR2 (40)  := 'Global_Rgp_Menu';     --global record group name for menu use
       rg_id           recordgroup;                                            --global record group id
       gc_id           groupcolumn;                                     --global record group coulmn id
       errcode         NUMBER;                                                             --error code
       grp_row         PLS_INTEGER    := 0;                             --global record group row count
    begin
      rg_id := FIND_GROUP (rg_name);
       IF NOT ID_NULL (rg_id)
       THEN
          DELETE_GROUP_ROW (rg_id, all_rows);
       ELSE
          rg_id := CREATE_GROUP (rg_name, global_scope);
          gc_id := ADD_GROUP_COLUMN (rg_id, 'menu_item', char_column, 100);
          gc_id := ADD_GROUP_COLUMN (rg_id, 'p_type', char_column, 100);
          gc_id := ADD_GROUP_COLUMN (rg_id, 'p_no', char_column, 100);    
       END IF;
      grp_row := 0;
      for 1 in 1..10 loop
           grp_row := grp_row + 1;
          ADD_GROUP_ROW (rg_id, grp_row);
          SET_GROUP_CHAR_CELL (rg_name || '.menu_item', grp_row, 'menu' || to_char(i) );
          /*type*/
          SET_GROUP_CHAR_CELL (rg_name || '.p_type', grp_row,  'type' || to_char(i) );
          /*program_no */
          SET_GROUP_CHAR_CELL (rg_name || '.p_no', grp_row,  'programno' || to_char(i) ); 
      end loop;
    end;
    2. query group
    declare
       FACT_SQL VARCHAR2(500) :=NULL;
       rg_name1       VARCHAR2(40) := 'Global_Rgp_fact';
       rg_id1   RecordGroup;
       Error_Flag number:=0;
       group_error exception;
    begin
       rg_id1 := Find_Group( rg_name1 ); IF NOT Id_Null(rg_id1) THEN Delete_Group( rg_id1 ); END IF;     
       FACT_SQL := ' SELECT *   FROM MYFACTORY  ' ;      
       rg_id1 := Create_Group_From_Query( rg_name1,FACT_SQL ,global_scope);
        Error_Flag := POPULATE_GROUP(rg_id1);
        IF Error_Flag <>0 THEN     
               error_msg:='Error while populating factory group';   
               raise group_error;
        END IF; 
    exception
      when group_error then
         message(error_msg);
        raise;
    end;Edited by: nolemlin on 2010/3/23 上午 7:50

  • Cannot play youtube. i wonder is it because i have changed the anti virus settings (bullguard)?

    Hi
    I cannot play youtube. i wonder is it because i have changed the anti virus settings (bullguard)?
    How can i ask bullguard to let flash player download? the file would not download..please help

    Unfortunately, I'm not familiar with this virus software.  I'd recommend posting on their forums to see if anyone has advice.
    http://forum.bullguard.com/forum/

  • Dynamically change the Priority Group of Logical Table Sources in OBIEE 11g

    Hi All,
    I have 2 Logical Table Sources(LTS 1 and LTS 2 for a Logical Table in BMM Layer).
    Example: Logical Table : Sample
    LTS Source 1 : Sample 1(Priority Group Set to 1)
    LTS Source 2 : Sample 2(Priority Group Set to 0)
    I have set the Priority Group of Sample 1 LTS Source to 1 and Priority Group of Sample 2 LTS Source to 0.
    I need to dynamically change the Priority Group of Sample 1 LTS Source to 0 if my role is DEVELOPER where role is a column in database.
    If my role is not equal to DEVELOPER then the Priority Group of Sample 1 LTS Source will remain same(1).
    Please suggest how can i achieve this.
    Thanks,
    Soukath Ali

    hello Soukath Ali,
    didi you find a way to dinamically changing Priority Group?
    thanks,
    Maria Teresa Marchetti

  • How do i use WGM or dcsl to change the primary groups of users, defined by another group?

    i've got a ton of users, whose primary group is "current student". they all belong to the other group "year 13"
    they've left school, so i thought it would be easy to do a search of users with GID equal to or containing the GID for "year 13" (in this case 1121) and then change their primary group to "left school"
    except that doesn't work. i can only search for them in WGM by primary group, it seems. therefore i cannot do any batch operations on a secondary group.
    so. how do i do this? is there a way of scripting dcsl to find users by 'other group' and then change the primary group attribute?
    i'm going to need to be doing a lot of this (changing the other gropus of a school full of students). bit stumped.
    help!

    ok. for some reason neitehr root nor my account (which is part of the open directory admin group) can make changes using dscl.
    when addingremoving users from groups, remember that teh UUID has to be added/removed too
    this is getting there:
    old=year11
    new=year12
    for item in `dscl /LDAPv3/127.0.0.1/ read /Groups/$old GroupMembership | cut -d: -f2`
    do
    echo $item
    UUID=`dsmemberutil getuuid -U $item`
    case "$UUID"
              in
              "There is no uuid for user $item")
                        echo "user $item need personal attention"
                        dscl -u diradmin -P 'somepassword'  /LDAPv3/127.0.0.1 append /Groups/$new GroupMembership $item
                        dscl -u diradmin -P 'somepassword'  /LDAPv3/127.0.0.1 append /Groups/$new GroupMembers $UUID
                        if [ "`dsmemberutil checkmembership -U $item -G $new`" == "user is a member of the group" ]  ; then
                        echo "$item added to $new"
                        dscl -u diradmin -P 'somepassword'  /LDAPv3/127.0.0.1 delete /Groups/$old GroupMembership $item
                        dscl -u diradmin -P 'somepassword'  /LDAPv3/127.0.0.1 delete /Groups/$old GroupMembers $UUID
                                  if [ "`dsmemberutil checkmembership -U $item -G $old`" == "user is a member of the group" ]  ; then
                                  echo "removal of $item from $old failed"
                                  else
                                  echo "removal of $item from $old succeded"
                                  fi
                        else echo "append of $item to $new failed"
                        fi
              esac
    done

  • Can anyone help me change the DOB on my sons profile for his apple I'd so I can setup family sharing? I originally put both ids in my name. He is 19 do it keeps saying needs my permission but no instructions in how to get that done?

    Can anyone help me change the DOB on my sons profile for his apple I'd so I can setup family sharing? I originally put both ids in my name. He is 19 do it keeps saying needs my permission but no instructions in how to get that done? His phone was stollen once last month need to get this done ASAP to prevent future headaches. Ty

    You can not change the date of birth on the account. Apple makes that clear up front when the account is created.
    The only way to "fix" this is going to be for him to create a new account with the correct information. Any apps purchased with the old one will need to be re-purchased with the new account. They can not be transferred.

  • HT4859 After the i-cloud server issue Nov 26, 2012, I had to change some mail account settings to get my i-cloud mail to work again.  However, all of my received e-mails are gone.  How do I retrieve my e-mails from the server?

    After the i-cloud server issue yesterday, November 26, 2012, my i-cloud mail account on my Macbook Pro stopped receiving mail.  I changed some mail account settings to fix the issue, and was able to start receiving e-mails.  However, all of my historical e-mails are gone.  How do I retrieve all of my old e-mails from the server?

    What settings did you change, what were the changes, have you visited www.icloud.com to see what mail is actually there? and do you have a backup?

  • How can we change the purchasing group which it is maintained in R/3?

    Hello All.
    In case of MM, purchasing group is assigned to material master.
    It means purchasing group is maintained based on material code.
    But SRM has different maintenance level.
    As you know that purchasing group has the responsibility based on material group (Product category).
    So we should change the purchasing group from R/3, when end user create shopping cart.
    How can we change the purchasing group which it is maintained in material master?
    Thank you,
    Best regards,
    SH.

    Hello So Hee,
    I am not a technical guy.
    But for your requirement i am building a logic.
    I am not sure whether it will work.
    You need to check with your ABAPER.
    It is as below:
    When the SC is approved and the other configuration is correct ,
    PR is created in ECC by the virtue of BAPI.
    You want that the pur grp should be populated on the base of matl code and not on matl grp.
    Hence in SC you will not fill up pur grp.
    In the programme for BBPSC01 i.e. SC creation you will add modification that it will call a custom FM.
    This custom FM will get the matl code from SC and will find the value of pur grp from R/3 MM01i.e. matl master(you may get in MARA).
    Now in the BAPI you need to incorporate this additional value of yr pur grp field.
    So the desired pur grp as per yr R/3 matl master will be populated in yr R/3 PR.
    Again: this is all hypothesis.
    That's all I can help you.
    BR
    Dinesh
    <b>Reward if helps</b>

  • I changed my wheel group properties to no access at top disk level.  I messed up, how can I change back in single user mode "command s" as I am now in Thailand and not able to access startup disks?

    I messed up, I changed my "Wheel group" properties to No Access ( or something other than the default) at the top level of my startup disk "Macintosh HD".   Now my computer won't start up, I just get the spinning wheel of death.    I also am in Thailand right now, so I cannot go to a Genius at an apple store, nor do I have startup disks available.
    So I was hoping there was a way to change back the properties of my disk (Volume) in single user mode (via Command +s) during startup, i.e. can I do a chmod command on the Macintosh HD listing under the Volume Directory.    Or where do i fix this?   Is it fixable without startup disks, etc...
    THANKS FOR ANY HELP!!!!
    If you could also please let me know you have an answer, I WOULD REALLY APPRECIATE IT!!! 
    thanks so much
    mark
    <Edited by Host>

    Thomas,
    Thanks for the info on command-R, didn't know about that!!!
    Yes I changed the sharing "Wheel Group" permissions on my hard drive via Get Info.    But that's all I did.    And then most of the apps wouldn't respond with anything.    So not knowing I did something stupid, I decided to re-boot, and then nothing but the Wheel of Death at startup.
    I was trying to limit access to my computer on this network, changed my public folder settings, and then I thought why not the whole hard drive, but at that time I had no idea what the "Wheel Group" was... so I shouldn't have touched it, BUT IT DID ...... argggggg....
    I managed to go to an internet cafe & research the problem yesterday.    I used the command +s single mode to get in, and then did the necessary steps to mount the drive so I could make changes.   I basically did this:
    Boot into single-user mode (boot while holding down CMD-S)
    Follow the on-screen instructions to mount the file system as read-write (a fsck command followed by a mount command)
    Type the following: "chmod o+r /" followed by "chmod o+x /"
    Type "exit" to leave single user mode and complete the boot sequence.
    I found it at this link http://forums.macrumors.com/showthread.php?t=416180
    It worked... thank God!!!   Well so far so good.   
    I was going to try my own fix by chmod on the Hard drive listed under Volumes directory, but that doesn't seem to match the info under Get Info Window.    So I just used the fix above.    I probably should now go and do "Disk Utility - repair permissions", however I am a little gun shy right now, so I will probably wait until I am back in the States so I can go to an Apple store if it messes up.   Right now I'm following the "if it ain't broke, don't fix it" MOTTO...
    So Thomas I just wanted to say THANKS for replying so quickly, and I really appreciate your help!!!
    (yes I know I shouldn't have used my email addresses, but I WAS DESPERATE, but that's still no excuse)
    Hopefully maybe this thread will help someone else out in the future....
    Okay, thanks again!
    Mark

  • Dynamic action on "Change" of Radio group value

    Hi,
    I'm using Apex 4.1 on XE 11G.
    If I create a simple dynamic action which shows/hides a field on the change of an item of type select list this works great.
    So for example if the value of the select list is 1 then show another field and otherwise hide this other field.
    If I change the type of the first field ( the select list ) to a radio group the dynamic action stops working. It looks like the value of the radio group does not get changed when I click another value in the radio group.
    I'm somehow able to bypass this by using a dynamic action which fires when the radio group is clicked and then evaluatie it's value via JS, but that's not really the ideal solution.
    Is there some basic difference in radio groups and select lists when it comes to storing values and/or dynamic actions which are based on the change event on that item ?
    Regards
    Bas
    Edited by: Bas de Klerk on 31-mei-2012 6:42

    Take a look at the Radio group item in HTML DOM using FF/Firebug or IE/DevTools, and you will see the difference.
    If you have neither of the 2 debug tools , time you get one.
    Regards,

  • How do I install software w/out change to graphic / video settings

    Installing software changes ALL my graphic and video settings, screwing up how I view video, my photo viewing / editing capabilities, and rendering jpeg files in MS Word documents unavailable (they are visible on the monitor but won't print out, can't change attributes).
    Note: I had to restore my computer to a date prior to my first install attempt, rather than just uninstalling.
    I tried reinstalling, unchecking the three default boxes during setup. That did not eliminate the problem. Again, I had to restore my computer to an earlier setting, rather than just uninstalling the software.
    I don't want to use Quicktime to view video streaming.
    Any suggestions?
    iPod Nano 4GB   Windows XP  
      Windows XP  

    You can restore to the latest available software.

  • I recently purchased an external hard drive to back up my iMovies. When I try to open the movies on the backup I get a message "you may not have permission to modify that folder" How do I change permissions on the backup?

    I recently purchased an external hard drive to back up my iMovies. When I try to open the movies on the backup I get a message "you may not have permission to modify that folder" How do I change permissions on the backup?

    Hi
    One Must NEVER move or alter any folders named
    • iMovie Event's - or -
    • iMovie Projects - or - alike
    on DESKTOP/FINDER - Ever ! - ONLY Within the iMovie Program ! else all connections are broken and hard to impossibly to mend !
    but rather do as described here under
    Moving Event's and Project's
    Connection - Either connect one Mac in Target mode to the other via FireWire. Or use an external hard disk !
    (Target-Mode - Start one Mac e.g. laptop - BUT keep T-key down during full up-start - Now a FW-symbol is jumping around the screen and it will work as an external hard disk when connected to the other Mac)
    A. The External Hard Disk - MUST BE - Mac OS Extended (hfs) formatted to work for Video. UNIX/DOS/FAT32/Mac OS Exchange works for most other things but not for Video whatever program is used (iMovie or FinalCut)
    B. Should be a FireWire one as USB/USB2 performs badly to me and especially when filling up
    C. Do never Move or Alter any folder named
    • iMovie Event's - or -
    • iMovie Project's
    on DeskTop/Finder - as this will result in iMovie losing connections to them and repair can be anything from hard to impossibly
    D. Moving and Copying must be done within iMovie application and Events to Events - and - Project's to Project's.
    E. Moving Project's to Event's - Do not work for me - I have to export project as a QuickTime movie then Import this into Events.
    Event's window can show two faces
    Like this
    or like this
    from one hard disk Event - You can move it to the other hard disk
    You can not (at least not me) move Event to Project or other way around only
    Event to Event and Project to Project
    Yours Bengt W

  • How to change the text of label dynamically

    Hi all,
    I have done a dynpro program.It requires to implement the dynamically display the label text, for example: there is a label, sometimes, we want to display "Purchase Order" and sometimes we want to display "Sales Order". Can anyone tell me how to change the text of label according to my requirements? thanks in advance!

    Hi Wei,
    AS of now you will not be able to change the Text Field ( Label ) dynamically or at runtime. This is a limitation.Refer to this link:
    http://help.sap.com/saphelp_nw04/helpdata/en/e4/2adbef449911d1949c0000e8353423/frameset.htm
    But, there is a way around.
    You can make a text field Visible / Invisible based on your program logic. So, based on what you want, you can process a module which will take care of that.
    Have a look at these DEMO Code. You can have a good idea to implement the logic.
    DEMO_DYNPRO_MODIFY_SCREEN - Demonstration of Dynamic Screen Modifications
    Thanks,
    Samantak.

Maybe you are looking for