|
|
Author
|
Topic: JSD-100 Network Automation Problem
|
|
|
|
|
|
Harold Hallikainen
Jedi Master Film Handler
Posts: 906
From: Denver, CO, USA
Registered: Aug 2009
|
posted 05-03-2016 08:29 PM
I've looked around for an online converter and so far have not found one. I'll see if I can write one in the next couple days. Meanwhile, you can use http://www.asciitohex.com/ with a little hand editing. For example, to do jsd100.sys.fader\t100\r, I converter jsd100.sys.fader to get this: 6a 73 64 31 30 30 2e 73 79 73 2e 66 61 64 65 72
Add a tab
09
Add 700 37 30 30
Add CR 0d
Resulting string, adding commas: 6a,73,64,31,30,30,2e,73,79,73,2e,66,61,64,65,72,09,37,30,30,0d
Harold
| IP: Logged
|
|
|
Frank Cox
Film God
Posts: 2234
From: Melville Saskatchewan Canada
Registered: Apr 2011
|
posted 05-11-2016 02:30 AM
#include <stdio.h> #include <string.h>
int main (void) { int command, counter; char parameter[5]; const char *strings[]={"jsd100.sys.fader","jsd100.sys.fader_rel","jsd.sys.input_mode","jsd.100.sys.mute","jsd100.sys.sleep"}; printf("1. %s\n2. %s\n3. %s\n4. %s\n5. %s\n", strings[0],strings[1],strings[2],strings[3],strings[4]); printf ( "Enter Command number from above list: (1-5) " ); scanf ( "%i", &command ); printf ( "Enter numeric parameter, for example 700, maximum 4 characters: " ); scanf ( "%s", parameter ); for ( counter=0; counter < strlen(strings[command-1]); counter++ ) printf ( "%x,",strings[command-1][counter] ); printf("09"); for (counter=0; counter < strlen(parameter); counter++) printf( ",%x",parameter[counter]); printf(",0d\n"); return 0; }
| IP: Logged
|
|
|
All times are Central (GMT -6:00)
|
|
Powered by Infopop Corporation
UBB.classicTM
6.3.1.2
The Film-Tech Forums are designed for various members related to the cinema industry to express their opinions, viewpoints and testimonials on various products, services and events based upon speculation, personal knowledge and factual information through use, therefore all views represented here allow no liability upon the publishers of this web site and the owners of said views assume no liability for any ill will resulting from these postings. The posts made here are for educational as well as entertainment purposes and as such anyone viewing this portion of the website must accept these views as statements of the author of that opinion
and agrees to release the authors from any and all liability.
|