Module Expr Str Import alias ImportFrom alias Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num TryExcept body If CompareGt Call NameLoad AttributeLoad NameLoad attr Num body Expr Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Num orelse Expr Call NameLoad handlers ExceptHandler type NameLoad name NameStore body Expr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Num Print Str Expr Call NameLoad NameLoad NameLoad NameLoad NameLoad Expr Call NameLoad NameLoad NameLoad NameLoad NameLoad Expr Call NameLoad NameLoad NameLoad NameLoad Expr Call NameLoad NameLoad NameLoad NameLoad Expr Call NameLoad NameLoad NameLoad NameLoad NameLoad Expr Call NameLoad NameLoad NameLoad NameLoad NameLoad Expr Call NameLoad NameLoad NameLoad NameLoad NameLoad Expr Call NameLoad Str Assign NameStore Call NameLoad Expr Call NameLoad NameLoad NameLoad NameLoad NameLoad Assign NameStore AttributeLoad NameLoad attr Expr Call NameLoad NameLoad NameLoad NameLoad NameLoad Assign NameStore AttributeLoad NameLoad attr If CompareEq NameLoad NameLoad body Print BinOpMod Str TupleLoad NameLoad NameLoad orelse Print BinOpMod Str TupleLoad NameLoad NameLoad Expr Call NameLoad
N/A N/A 
Port of smartlib's Samples/C/CBasic/1stTest.c

 N/A sys smartbits * N/A hub1 0 N/A slot1 0 N/A port1 0 N/A hub2 0 N/A slot2 1 N/A port2 0 N/A numPackets 100000 N/A N/A N/A N/A N/A len N/A sys argv 1 N/A N/A N/A linkToSmartBits N/A N/A sys argv N/A 1 N/A N/A N/A linkToSmartBits N/A N/A N/A SmartlibError N/A err N/A N/A N/A print_error_desc err N/A N/A N/A sys exit 1 N/A successfully linked N/A N/A HTResetPort RESET_FULL hub1 slot1 port1 N/A N/A HTResetPort RESET_FULL hub2 slot2 port2 N/A N/A HTClearPort hub1 slot1 port1 N/A N/A HTClearPort hub2 slot2 port2 N/A N/A HTTransmitMode SINGLE_BURST_MODE hub1 slot1 port1 N/A N/A HTBurstCount numPackets hub1 slot1 port1 N/A N/A HTRun HTRUN hub1 slot1 port1 N/A N/A raw_input Press ENTER key to get counts. N/A cs N/A HTCountStructure N/A N/A HTGetCounters cs hub1 slot1 port1 N/A txPackets N/A cs TmtPkt N/A N/A HTGetCounters cs hub2 slot2 port2 N/A rxPackets N/A cs RcvPkt N/A N/A txPackets rxPackets N/A N/A N/A Test Passed! %d packets transmitted and %d packets received. N/A txPackets rxPackets N/A N/A N/A Test Failed! %d packets transmitted and %d packets received. N/A txPackets rxPackets N/A N/A ETUnLink