AndyCH Posted November 10, 2022 Posted November 10, 2022 (edited) 我可以執行示例 C“記錄器”。 但我看不到 Y 軸單位。 我通過信號發生器輸出“10Hz”“正弦波”。 請告訴我我可能做錯了什麼。 Edited November 10, 2022 by AndyCH
0 AndyCH Posted November 17, 2022 Author Posted November 17, 2022 I changed the board from 64bit to 32bit to solve this problem.
0 DAQman Posted November 10, 2022 Posted November 10, 2022 Hello, I could not duplicate the x-axis scale issue that you reported so it could be regional caused by the local language being mishandled. Best regard, John
0 AndyCH Posted November 11, 2022 Author Posted November 11, 2022 (edited) HI JRys when I check the local language. Everything is ok So I print "logger.c line179 freq_val value" on the console. I can see the value is right. But the X-axis still display "0". Maybe there is a problem with the displayed part. Can you help me to confirm this part? Thank you Edited November 11, 2022 by AndyCH
0 DAQman Posted November 17, 2022 Posted November 17, 2022 Hi Andy, I was able to duplicate your issue using 64-bit Raspbian. MCC did not fully test the DAQHAT support & examples using 64-bit Raspbian and for this reason we continue to recommend that the 32-bit OS be used. I will report your findings to engineering and hopefully a future release will address the issue. Thank you for letting me know. Best regards, John
0 DAQman Posted November 18, 2022 Posted November 18, 2022 Hi Andy, Engineering was able to fix the issue rather quickly thanks to your help. Apparently, it was an incorrectly formatted string in the logger.c file that caused the x-axis scale to be wrong. The fix was tested on both the 32 and 64-bit Raspbian. https://github.com/mccdaq/daqhats best regards, John
Question
AndyCH
我可以執行示例 C“記錄器”。
但我看不到 Y 軸單位。
我通過信號發生器輸出“10Hz”“正弦波”。
請告訴我我可能做錯了什麼。
5 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now