Skip to content

TypeError: can't multiply sequence by non-int of type 'c_ulonglong' #1

@sepp192

Description

@sepp192

Hello!

I am really happy that I finally found support for the NI VirtualBench! Thanks a lot! Unfortunately I have a problem running the mso_simple_example.py It throws me an error at line 446 of pyvirtualbench.py "TypeError: can't multiply sequence by non-int of type 'c_ulonglong'"
Any suggestions how I can work arround this?

Thanks!!
Leopold

File "", line 1, in
runfile('C:/Users/gleo/Downloads/armstrap-pyvirtualbench-master/armstrap-pyvirtualbench-master/examples/mso_simple_example.py', wdir='C:/Users/gleo/Downloads/armstrap-pyvirtualbench-master/armstrap-pyvirtualbench-master/examples')

File "C:\Anaconda3\lib\site-packages\spyder\utils\site\sitecustomize.py", line 866, in runfile
execfile(filename, namespace)

File "C:\Anaconda3\lib\site-packages\spyder\utils\site\sitecustomize.py", line 102, in execfile
exec(compile(f.read(), filename, 'exec'), namespace)

File "C:/Users/gleo/Downloads/armstrap-pyvirtualbench-master/armstrap-pyvirtualbench-master/examples/mso_simple_example.py", line 97, in
channels_enabled, number_of_channels = virtualbench.collapse_channel_string(channels)

File "C:\Anaconda3\lib\pyvirtualbench.py", line 446, in collapse_channel_string
names_out = (c_wchar * names_out_size)()

TypeError: can't multiply sequence by non-int of type 'c_ulonglong'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions