vMix Forums
	 » 
	General
	 » 
	General Discussion
	 » 
	DataSourceSelectRow and Dynamic Value
	 
	
        
            
            
    | 
	Rank: Advanced Member
 Groups: Registered
Joined: 8/5/2017(UTC)
 Posts: 138
 Location: UK
 
 Thanks: 16 timesWas thanked: 11 time(s) in 9 post(s)
 
 | 
            
		      
                Hi, I'm using a MIDI shortcut note ON to SetDynamicValue=2Then Midi note OFF (same note) tp DataSourceSelectRow= MYDSN,Sheet1,Dynamic4
 
 But this does not work, it appears that you cant use the Dynamic variable in this way, unless I am doing something wrong?
 
 Thanks
 | 
    | 
             | 
            
         | 
    |  | 
        
        
        
            
        
            
            
    | 
	Rank: Staff
 Groups: Registered, ModeratorJoined: 8/15/2017(UTC)
 Posts: 63
 Location: Canada
 
 Thanks: 1 timesWas thanked: 19 time(s) in 18 post(s)
 
 | 
            
		      
                @ nowski
 "Dynamic4" is not going to be recognized as an "index" value for your Data Source row, this needs to be an actual number starting at "0" that corresponds to the row your desired data is in, so in other words, not variable with the Dynamic Value feature in vMix.
 
 
 vMix Greg
 
 
 
 | 
    | 
             | 
            
         | 
    |  | 
        
        
        
    
        
            
            
    | 
	Rank: Advanced Member
 Groups: Registered
 Joined: 12/27/2012(UTC) Posts: 5,446  Location: BelgiumThanks: 311 timesWas thanked: 1006 time(s) in 830 post(s)
 
 | 
            
		      
                Originally Posted by: nowski  Hi, I'm using a MIDI shortcut note ON to SetDynamicValue=2Then Midi note OFF (same note) tp DataSourceSelectRow= MYDSN,Sheet1,Dynamic4
 
 But this does not work, it appears that you cant use the Dynamic variable in this way, unless I am doing something wrong?
 
 Thanks
 MYDSN,Sheet1,Dynamic4 is a string , cant combine the first part of the string with the value of the DynamicValue within the shortcut value part In scripting you will need to pull the dynamic value first and convert it to a string to add to the "MYDSN,Sheet1," part Has been mentioned in this forum for sure  Specifying SetDynamicValue4=MYDSN,Sheet1,2  then  DataSourceSelectRow=Dynamic4 will work to btw need to specify which Dynamic value one is setting too | 
    | 
              1 user thanked doggy for this useful post. |  | 
    |  | 
        
        
        
            
        
            
            
    | 
	Rank: Advanced Member
 Groups: Registered
Joined: 8/5/2017(UTC)
 Posts: 138
 Location: UK
 
 Thanks: 16 timesWas thanked: 11 time(s) in 9 post(s)
 
 | 
            
		      
                Yes thanks, figured it out eventually, but now trying to search a string value in a dynamic value, it appears that InStr(string, substring) not supported? Or is it another example of my ineptitude.
 Trying to test for characters in the Dynamic4 variable....
 | 
    | 
             | 
            
         | 
    |  | 
        
        
        
    
        
            
            
    | 
	Rank: Advanced Member
 Groups: Registered
 Joined: 12/27/2012(UTC) Posts: 5,446  Location: BelgiumThanks: 311 timesWas thanked: 1006 time(s) in 830 post(s)
 
 | 
            
		      
                Originally Posted by: nowski  Trying to test for characters in the Dynamic4 variable....
 vb.net !!Try this | 
    | 
             | 
            
         | 
    |  | 
        
        
        
    
                           
	vMix Forums
	 » 
	General
	 » 
	General Discussion
	 » 
	DataSourceSelectRow and Dynamic Value
	 
	
    
        Forum Jump
         
	
    
    You cannot post new topics in this forum.
	
	You cannot reply to topics in this forum.
	
	You cannot delete your posts in this forum.
	
	You cannot edit your posts in this forum.
	
	You cannot create polls in this forum.
	
	You cannot vote in polls in this forum.
	
	
    
    
        Important Information:
        The vMix Forums uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
        
        
More Details
        Close