NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

passing data from TestStand to Jupyter NoteBook

Hello,

decided to start a new thread on how to get Data from TestStand to Jupyter Note Book.

I have tried to follow the steps from http://www.ni.com/tutorial/8847/en/  but it does not work. when I use the call executable, all I get is a window with my Jupyter code. I don't get any results from theTestStand output window either. Below I have modified the Python code to work in Jupyter.

step #4 of the tutorial

#Get input as a list
numbers = input('Enter numbers: ')

total = sum(int(c) for c in numbers)
print("total_Sum:", total)

 

Step #3 of the tutorial just reading the data from arguments expression

import sys

#Iterate through each element and get data
for n in sys.argv:
print ("total_Sum:", n)

step# 4Error

I don't think I am pointing tho the Argv data?

total_Sum: C:\Users\rata\Anaconda3\lib\site-packages\ipykernel_launcher.py
total_Sum: -f
total_Sum: C:\Users\rata\AppData\Roaming\jupyter\runtime\kernel-357edb9f-22fb-46ff-91e4-272bc740f56d.json

 

Is it even possible to access Data through Jupyter? 

Any help will be greatly appreciated.

 

Thanks

WinnieWanda

0 Kudos
Message 1 of 3
(2,356 Views)

I don't think your post worked quite like you expected.  What is your question?

jigg
CTA, CLA
testeract.com
~Will work for kudos and/or BBQ~
0 Kudos
Message 2 of 3
(2,295 Views)

I suppose not. I have just figured out what I wanted to achieve. Thank you for posting something Smiley Happy

0 Kudos
Message 3 of 3
(2,290 Views)