Quantcast
Channel: Instrument Control (GPIB, Serial, VISA, IVI) topics
Viewing all articles
Browse latest Browse all 5566

Nidaqmx lib not found in Heroku

$
0
0

Hello everyone.

 

I am trying to remotely read data from an accelerometer. I am using a NI9234, developing in windows 10 through python (using the nidaqmx library). I am also using a Flask based web data frame (I think) named pyplot-dash. This libray is special for web applications, as the one that I am intending to create. For internet deployment I am using a cloud platform named Heroku, however I am having some issues in there. 

 

When I run my script on my local host, I am able to read the data from the accelerometer:

dash-sol-2.png

When I deploy into Heroku, the final internet page gives me no errors at all, however, the button that is supposed to implement the nidaqmx functionality is not working at all. Heroku have this command that creates a log (check, please, the attachment)

 

And from there, I believe that this line is crucial:

 

2021-06-19T01:12:48.609542+00:00 app[web.1]: raise DaqNotFoundError(
2021-06-19T01:12:48.609543+00:00 app[web.1]: nidaqmx._lib.DaqNotFoundError: Could not find an installation of NI-DAQmx. Please ensure that NI-DAQmx is installed on this machine or contact National Instruments for support.

 

I asked in StackOverFlow, but so far I haven't found a solution.

 

I tried to use the Ctypes alternative, but I can't run the example provided.

 

I need to add that I am a newb to Heroku, Python, and Plotly-Dash, so I don't know what I am doing wrong.

 

 

 

 

 

 


Viewing all articles
Browse latest Browse all 5566

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>