changed link type specification values

This commit is contained in:
John Winans
1992-02-04 14:41:14 +00:00
parent 046cb9d2f6
commit 9c8ec69704
2 changed files with 22 additions and 4 deletions

View File

@@ -436,10 +436,18 @@ configMsg()
printf("Enter the Link Type (5 = GPIB, 13 = BBGPIB) [%d]: ", pCmd->linkType);
if (getInt(&inInt) == 1)
if (inInt == 1)
{
if(inInt == 5)
pCmd->linkType = GPIB_IO;
else
else if (inInt == 13)
pCmd->linkType = BBGPIB_IO;
else
{
printf("Invalid link Type %d specified\n", pCmd->linkType);
return(ERROR);
}
}
printf("\nenter Enter Link # [%2.2d] > ", (int) pCmd->linkId);
if (getInt(&inInt) == 1)
@@ -469,6 +477,7 @@ configMsg()
pCmd->resp[0]= 0; /* clear response string */
showGpibMsg(msgNum);
return(ERROR);
}
/*

View File

@@ -436,10 +436,18 @@ configMsg()
printf("Enter the Link Type (5 = GPIB, 13 = BBGPIB) [%d]: ", pCmd->linkType);
if (getInt(&inInt) == 1)
if (inInt == 1)
{
if(inInt == 5)
pCmd->linkType = GPIB_IO;
else
else if (inInt == 13)
pCmd->linkType = BBGPIB_IO;
else
{
printf("Invalid link Type %d specified\n", pCmd->linkType);
return(ERROR);
}
}
printf("\nenter Enter Link # [%2.2d] > ", (int) pCmd->linkId);
if (getInt(&inInt) == 1)
@@ -469,6 +477,7 @@ configMsg()
pCmd->resp[0]= 0; /* clear response string */
showGpibMsg(msgNum);
return(ERROR);
}
/*